Codota Logo
SysUserDTO.setId
Code IndexAdd Codota to your IDE (free)

How to use
setId
method
in
com.honvay.cola.cloud.uc.model.SysUserDTO

Best Java code snippets using com.honvay.cola.cloud.uc.model.SysUserDTO.setId (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: leecho/cola-cloud

@Override
public void insert(SysUserDTO sysUserDTO) {
  SysUser sysUser = new SysUser();
  BeanUtils.copyProperties(sysUserDTO, sysUser);
  this.insert(sysUser);
  sysUserDTO.setId(sysUser.getId());
}
origin: leecho/cola-cloud

/**
 * 修改员工信息
 *
 * @param sysEmployeeDTO
 */
@Override
@Transactional(rollbackFor = Exception.class)
public void update(SysEmployeeDTO sysEmployeeDTO) {
  Assert.notNull(sysEmployeeDTO.getOrgId(), "所属部门不能为空");
  SysEmployee employee = this.selectById(sysEmployeeDTO.getId());
  //需改员工信息
  BeanUtils.copyProperties(sysEmployeeDTO, employee);
  this.updateById(employee);
  SysUserDTO dto = new SysUserDTO();
  BeanUtils.copyProperties(sysEmployeeDTO, dto);
  dto.setId(employee.getSysUserId());
  Result rs = this.sysUserClient.update(dto);
  Assert.isTrue(rs.getSuccess(),rs.getMsg());
}
com.honvay.cola.cloud.uc.modelSysUserDTOsetId

Popular methods of SysUserDTO

  • <init>
  • getId
  • setName
  • setUsername

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now