|
@@ -319,6 +319,7 @@ public class GLPPGFWebsitServiceImpl implements GLPPGFWebsitService {
|
|
|
v.setUpdateBy("system");
|
|
|
v.setCreateTime(new Date());
|
|
|
v.setUpdateTime(new Date());
|
|
|
+ v.setSplb(","+item.getSplb()+",");
|
|
|
|
|
|
// 操作人
|
|
|
if (!StringUtils.isEmpty(item.getCzren())){
|
|
@@ -516,8 +517,8 @@ public class GLPPGFWebsitServiceImpl implements GLPPGFWebsitService {
|
|
|
}
|
|
|
if (!StringUtils.isEmpty(old.getSplb()) || !StringUtils.isEmpty(item.getSplb())){
|
|
|
if (!StringUtils.isEmpty(old.getSplb()) && !StringUtils.isEmpty(item.getSplb())){
|
|
|
- if (!old.getSplb().equals(item.getSplb())){
|
|
|
- old.setSplb(item.getSplb());
|
|
|
+ if (!old.getSplb().equals(","+item.getSplb()+",")){
|
|
|
+ old.setSplb(","+item.getSplb()+",");
|
|
|
// 提取品类名称
|
|
|
StringBuffer splbmc = getStringBuffer(oldSysDictRecMap, item.getSplb());
|
|
|
old.setSplbmc(splbmc.toString());
|
|
@@ -526,7 +527,7 @@ public class GLPPGFWebsitServiceImpl implements GLPPGFWebsitService {
|
|
|
} else {
|
|
|
flag = Boolean.TRUE;
|
|
|
if (!StringUtils.isEmpty(item.getSplb())) {
|
|
|
- old.setSplb(item.getSplb());
|
|
|
+ old.setSplb(","+item.getSplb()+",");
|
|
|
} else {
|
|
|
old.setSplb("");
|
|
|
}
|