|
|
@ -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); |
|
|
|
} |
|
|
|
|
|
|
|