changhaoning пре 2 година
родитељ
комит
cf678f4ece

+ 2 - 1
src/main/java/com/dk/mdm/model/pojo/mst/MeasureRoom.java

@@ -1,6 +1,7 @@
 package com.dk.mdm.model.pojo.mst;
 package com.dk.mdm.model.pojo.mst;
 
 
 import cn.afterturn.easypoi.excel.annotation.Excel;
 import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.alibaba.fastjson.JSONArray;
 import com.baomidou.mybatisplus.annotation.*;
 import com.baomidou.mybatisplus.annotation.*;
 import java.io.Serializable;
 import java.io.Serializable;
 
 
@@ -95,7 +96,7 @@ public class MeasureRoom extends PageInfo<MeasureRoom> implements Serializable {
     @Excel(name = "量尺附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
     @Excel(name = "量尺附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
     @ApiModelProperty(value = "量尺附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
     @ApiModelProperty(value = "量尺附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
     @TableField(typeHandler = JsonTypeHandler.class)
     @TableField(typeHandler = JsonTypeHandler.class)
-    private JSONObject measureAnnex;
+    private JSONArray measureAnnex;
 
 
 
 
     /**
     /**

+ 4 - 0
src/main/java/com/dk/mdm/model/vo/mst/CusFollowVO.java

@@ -339,6 +339,10 @@ public class CusFollowVO implements Serializable {
 
 
     private String saleStatus;
     private String saleStatus;
 
 
+    @Excel(name = "量尺备注")
+    @ApiModelProperty(value = "量尺备注")
+    private String measureRemarks;
+
     private List<MeasureRoom> measureRoomList;
     private List<MeasureRoom> measureRoomList;
 
 
     @Excel(name = "销售渠道")
     @Excel(name = "销售渠道")

+ 1 - 0
src/main/java/com/dk/mdm/service/mst/CusFollowService.java

@@ -373,6 +373,7 @@ public class CusFollowService extends BaseService<CusFollow> {
         measureReceipt.setFollowId(cusFollowVO.getFollowId());
         measureReceipt.setFollowId(cusFollowVO.getFollowId());
         measureReceipt.setMeasureStatus(Constant.BasicDataConstant.MEASURE_STATUS_1.getValue());
         measureReceipt.setMeasureStatus(Constant.BasicDataConstant.MEASURE_STATUS_1.getValue());
         measureReceipt.setMeasureTime(LocalDateTime.now());
         measureReceipt.setMeasureTime(LocalDateTime.now());
+        measureReceipt.setMeasureRemarks(cusFollowVO.getMeasureRemarks());
         //剩下参数有前台传
         //剩下参数有前台传
         measureReceiptService.insert(measureReceipt);
         measureReceiptService.insert(measureReceipt);