Browse Source

[update]:测试gitignore是否恢复

dev
youjianchi 10 months ago
parent
commit
fda8b7247f
  1. 9
      ruoyi-activiti/src/main/java/com/ruoyi/process/leave/service/impl/BizLeaveServiceImpl.java

9
ruoyi-activiti/src/main/java/com/ruoyi/process/leave/service/impl/BizLeaveServiceImpl.java

@ -28,7 +28,6 @@ import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
@ -134,12 +133,8 @@ public class BizLeaveServiceImpl implements IBizLeaveService {
*/
@Override
public int insertBizLeave(BizLeaveVo bizLeave) {
String loginName = ShiroUtils.getLoginName();
Date nowDate = DateUtils.getNowDate();
bizLeave.setCreateBy(loginName);
bizLeave.setCreateTime(nowDate);
bizLeave.setUpdateBy(loginName);
bizLeave.setUpdateTime(nowDate);
bizLeave.setCreateBy(ShiroUtils.getLoginName());
bizLeave.setCreateTime(DateUtils.getNowDate());
return bizLeaveMapper.insertBizLeave(bizLeave);
}

Loading…
Cancel
Save