0327-海宁pad走访修改
This commit is contained in:
@@ -2197,9 +2197,6 @@ public class SysCampaignServiceImpl implements ISysCampaignService
|
||||
updateDTO.setRemark(StringUtils.trimToNull(updateDTO.getRemark()));
|
||||
updateDTO.setIntentionProductValue(buildIntentionProductValue(updateDTO.getFeedbackItems()));
|
||||
int rows = sysCampaignMapper.updateVisitInfoFeedback(updateDTO);
|
||||
if (rows <= 0) {
|
||||
throw new ServiceException("走访记录不存在或无权限修改");
|
||||
}
|
||||
return rows;
|
||||
}
|
||||
|
||||
|
||||
@@ -679,9 +679,8 @@ export default {
|
||||
.join(";");
|
||||
},
|
||||
isFeedbackCompleted(row) {
|
||||
const source = row && row.source !== null && row.source !== undefined ? String(row.source).trim() : "";
|
||||
const intentionProductValue = row && row.intentionProductValue ? String(row.intentionProductValue).trim() : "";
|
||||
return !!source && !!intentionProductValue;
|
||||
const interRes = row && row.interRes !== null && row.interRes !== undefined ? String(row.interRes).trim() : "";
|
||||
return interRes === "0";
|
||||
},
|
||||
formatSourceLabel(source) {
|
||||
const sourceValue = source === null || source === undefined ? "" : String(source);
|
||||
|
||||
Reference in New Issue
Block a user