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