|
|
|
@ -239,6 +239,23 @@ public class ApplyInfoListManager {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 调岗保存
|
|
|
|
|
*/
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public boolean saveDuty(TdApplyInfoListDTO applyInfoListDTO) {
|
|
|
|
|
TdApplyInfoList applyInfoList = Convert.convert(TdApplyInfoList.class, applyInfoListDTO);
|
|
|
|
|
if (CharSequenceUtil.isNotBlank(applyInfoList.getApplyId())) {
|
|
|
|
|
applyInfoList.setUpdateTime(new Date());
|
|
|
|
|
applyInfoList.setUpdateBy(ShiroUtils.getSysUser().getUserName());
|
|
|
|
|
}
|
|
|
|
|
applyInfoList.setDeptId(ShiroUtils.getSysUser().getDeptId());
|
|
|
|
|
applyInfoList.setDeptName(ShiroUtils.getSysUser().getDept().getDeptName());
|
|
|
|
|
return applyInfoListService.saveOrUpdate(applyInfoList);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|