|
|
@@ -938,7 +938,9 @@ public class CorpsDescServiceImpl extends ServiceImpl<CorpsDescMapper, PjCorpsDe
|
|
|
corpsDesc.setCreateDept(Long.valueOf(SecureUtil.getDeptId()));
|
|
|
corpsDesc.setCreateTime(date);
|
|
|
corpsDesc.setCreateUser(userId);
|
|
|
- corpsDesc.setPriceSystem("售价1");
|
|
|
+ if (!org.springframework.util.StringUtils.hasText(corpsDesc.getPriceSystem())) {
|
|
|
+ corpsDesc.setPriceSystem("售价1");
|
|
|
+ }
|
|
|
corpsDesc.setSalesCompanyId(deptId);
|
|
|
corpsDesc.setSalesCompanyName(deptName);
|
|
|
baseMapper.insert(corpsDesc);
|