|
@@ -5,6 +5,7 @@ import com.xingxi.common.core.domain.entity.SysDept;
|
|
|
import com.xingxi.common.core.domain.entity.SysUser;
|
|
import com.xingxi.common.core.domain.entity.SysUser;
|
|
|
import com.xingxi.common.enums.*;
|
|
import com.xingxi.common.enums.*;
|
|
|
import com.xingxi.common.exception.BusinessException;
|
|
import com.xingxi.common.exception.BusinessException;
|
|
|
|
|
+import com.xingxi.common.utils.DateUtils;
|
|
|
import com.xingxi.common.utils.ShiroUtils;
|
|
import com.xingxi.common.utils.ShiroUtils;
|
|
|
import com.xingxi.common.utils.StringUtils;
|
|
import com.xingxi.common.utils.StringUtils;
|
|
|
import com.xingxi.framework.shiro.service.SysPasswordService;
|
|
import com.xingxi.framework.shiro.service.SysPasswordService;
|
|
@@ -82,6 +83,9 @@ public class VendorVoServiceImpl implements IVendorVoService
|
|
|
ret = deptMapper.insertDept(sysDept);
|
|
ret = deptMapper.insertDept(sysDept);
|
|
|
|
|
|
|
|
vendorVo.setVendorId(sysDept.getDeptId());
|
|
vendorVo.setVendorId(sysDept.getDeptId());
|
|
|
|
|
+ vendorVo.setDelFlag(EDelFlag.NO.getVal());
|
|
|
|
|
+ vendorVo.setCreateTime(DateUtils.getNowDate());
|
|
|
|
|
+ vendorVo.setCreateUser(ShiroUtils.getLoginName());
|
|
|
|
|
|
|
|
// Vendor vdr = new Vendor();
|
|
// Vendor vdr = new Vendor();
|
|
|
// BeanUtils.copyProperties(vendorVo,vdr);
|
|
// BeanUtils.copyProperties(vendorVo,vdr);
|