Browse Source

feat:投诉举报数据接入问题流程并加上来源标识

feature/tsjb-1.0
buaixuexideshitongxue 1 month ago
parent
commit
dda095eba3
  1. 2
      src/main/java/com/biutag/supervision/pojo/enums/negative/NegativeSourceTypeEnum.java
  2. 5
      src/main/java/com/biutag/supervision/service/complaintCollection/ComplaintCollectionServiceImpl.java

2
src/main/java/com/biutag/supervision/pojo/enums/negative/NegativeSourceTypeEnum.java

@ -16,6 +16,8 @@ public enum NegativeSourceTypeEnum implements CodeEnum {
MODEL_MARKET("1", "模型超市"), MODEL_MARKET("1", "模型超市"),
COMPLAINT_REPORT("2", "投诉举报"),
OTHER_MARKET("99", "未知"); OTHER_MARKET("99", "未知");

5
src/main/java/com/biutag/supervision/service/complaintCollection/ComplaintCollectionServiceImpl.java

@ -69,6 +69,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import com.biutag.supervision.pojo.enums.complaintCollection.*; import com.biutag.supervision.pojo.enums.complaintCollection.*;
import com.biutag.supervision.pojo.enums.negative.NegativeSourceTypeEnum;
import java.io.IOException; import java.io.IOException;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
@ -1019,6 +1020,10 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic
// 附件 // 附件
dto.setThingFiles(request.getThingFiles()); dto.setThingFiles(request.getThingFiles());
// 来源设置
dto.setSourceType(NegativeSourceTypeEnum.COMPLAINT_REPORT.getCode());
dto.setSourceTypeDesc(NegativeSourceTypeEnum.COMPLAINT_REPORT.getDesc());
return dto; return dto;
} }

Loading…
Cancel
Save