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

Loading…
Cancel
Save