Commit 406bae2dc9bbddbc173dd9f239c300d397c916ab
1 parent
3ca2a5ee
成品入库回传异常问题
Showing
2 changed files
with
6 additions
and
1 deletions
src/main/java/com/huaheng/api/erp/service/TaskReturnServiceImpl.java
@@ -118,7 +118,10 @@ public class TaskReturnServiceImpl implements TaskReturnService { | @@ -118,7 +118,10 @@ public class TaskReturnServiceImpl implements TaskReturnService { | ||
118 | fentity.setFstock("CK008"); | 118 | fentity.setFstock("CK008"); |
119 | fentities.add(fentity); | 119 | fentities.add(fentity); |
120 | } | 120 | } |
121 | - datas datas = new datas(barCodeHeader.getProType(),barCodeHeader.getFbillno(),fentities); | 121 | + datas datas = new datas(); |
122 | + datas.setFProductType(barCodeHeader.getProType()); | ||
123 | + datas.setFbillno(barCodeHeader.getFbillno()); | ||
124 | + datas.setFentity(fentities); | ||
122 | AjaxResult ajaxResult = sendTaskReturnId(datas,barCodeHeader); | 125 | AjaxResult ajaxResult = sendTaskReturnId(datas,barCodeHeader); |
123 | if (ajaxResult.getCode() != 200) { | 126 | if (ajaxResult.getCode() != 200) { |
124 | return AjaxResult.error("回传失败"); | 127 | return AjaxResult.error("回传失败"); |
src/main/java/com/huaheng/pc/monitor/job/domain/datas.java
@@ -3,11 +3,13 @@ package com.huaheng.pc.monitor.job.domain; | @@ -3,11 +3,13 @@ package com.huaheng.pc.monitor.job.domain; | ||
3 | import com.google.gson.annotations.SerializedName; | 3 | import com.google.gson.annotations.SerializedName; |
4 | import lombok.AllArgsConstructor; | 4 | import lombok.AllArgsConstructor; |
5 | import lombok.Data; | 5 | import lombok.Data; |
6 | +import lombok.NoArgsConstructor; | ||
6 | 7 | ||
7 | import java.util.List; | 8 | import java.util.List; |
8 | 9 | ||
9 | @Data | 10 | @Data |
10 | @AllArgsConstructor | 11 | @AllArgsConstructor |
12 | +@NoArgsConstructor | ||
11 | public class datas { | 13 | public class datas { |
12 | private String fbillno;//订单号 | 14 | private String fbillno;//订单号 |
13 | private String fProductType; | 15 | private String fProductType; |