瀏覽代碼

1 修改费用类型赋值

11816 22 小時之前
父節點
當前提交
dfcf4a53c8

+ 1
- 1
src/main/java/com/example/backend/pAndSExe/mapper/PurMultiSettleMapper.java 查看文件

@@ -27,6 +27,6 @@ public interface PurMultiSettleMapper extends BaseMapper<PurMultiSettle> {
27 27
     @Update("{call SGGMIIP.pro_feelInvReq_save300(#{settleId})}")
28 28
     void insertfeeId(Long settleId);
29 29
 
30
-    @Select("select cateCode,cateName,feeCd,feeNm from fytypedtl where ifnull(del_flag, 0) != 1  and feeNm=#{feeNm} order by cateCode,feeCd limit 1")
30
+    @Select("select cateCode,cateName,feeCd,feeNm,allocationCategory from fytypedtl where ifnull(del_flag, 0) != 1  and feeNm=#{feeNm} order by cateCode,feeCd limit 1")
31 31
     Feiyongleixing selectFeeCateNameByFeeNm(String feeNm);
32 32
 }

+ 3
- 0
src/main/java/com/example/backend/pAndSExe/model/Feiyongleixing.java 查看文件

@@ -14,6 +14,9 @@ public class Feiyongleixing{
14 14
     private String feeCd;
15 15
     @TableField("feeNm")
16 16
     private String feeNm;
17
+
18
+    @TableField("allocationCategory")
19
+    private String allocationCategory;
17 20
 }
18 21
 
19 22
 

+ 1
- 0
src/main/java/com/example/backend/pAndSExe/service/impl/FeeInvoiceSettleServiceImpl.java 查看文件

@@ -188,6 +188,7 @@ public class FeeInvoiceSettleServiceImpl implements FeeInvoiceSettleService {
188 188
                 dtl.setPoOrderNo(inf.getPono());
189 189
                 dtl.setSono(inf.getSono());
190 190
                 dtl.setSoOrderNo(inf.getSono());
191
+                dtl.setAllocationCategory(feiyongleixing.getAllocationCategory());
191 192
 
192 193
 
193 194
                 purStlProdDtlMapper.insert(dtl);

Loading…
取消
儲存