| | |
| | | } |
| | | //判断是否替换项目(原关联用户项目id为空、新数据关联用户项目id) |
| | | if(StringUtils.isEmpty(oldTp.getUserProjectItemId()) && StringUtils.noNull(treatProject.getUserProjectItemId())){ |
| | | if(oldTp.getNum() != treatProject.getNum()){ |
| | | logInfo.append("替换原项目【").append(oldTp.getProjectName()).append(" x ").append(oldTp.getNum()).append("】") |
| | | .append("为已购买【").append(treatProject.getProjectName()).append(" x ").append(treatProject.getNum()).append("】;"); |
| | | } |
| | | logInfo.append("替换原项目【").append(oldTp.getProjectName()).append(" x ").append(oldTp.getNum()).append("】") |
| | | .append("为已购买【").append(treatProject.getProjectName()).append(" x ").append(treatProject.getNum()).append("】;"); |
| | | }else{ |
| | | if(oldTp.getNum() != treatProject.getNum()){ |
| | | logInfo.append("修改【").append(oldTp.getProjectName()).append(" x ").append(treatProject.getNum()).append("】").append(";"); |