Przeglądaj źródła

1 修改费用类型赋值

11816 22 godzin temu
rodzic
commit
dfcf4a53c8

+ 1
- 1
src/main/java/com/example/backend/pAndSExe/mapper/PurMultiSettleMapper.java Wyświetl plik

27
     @Update("{call SGGMIIP.pro_feelInvReq_save300(#{settleId})}")
27
     @Update("{call SGGMIIP.pro_feelInvReq_save300(#{settleId})}")
28
     void insertfeeId(Long settleId);
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
     Feiyongleixing selectFeeCateNameByFeeNm(String feeNm);
31
     Feiyongleixing selectFeeCateNameByFeeNm(String feeNm);
32
 }
32
 }

+ 3
- 0
src/main/java/com/example/backend/pAndSExe/model/Feiyongleixing.java Wyświetl plik

14
     private String feeCd;
14
     private String feeCd;
15
     @TableField("feeNm")
15
     @TableField("feeNm")
16
     private String feeNm;
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 Wyświetl plik

188
                 dtl.setPoOrderNo(inf.getPono());
188
                 dtl.setPoOrderNo(inf.getPono());
189
                 dtl.setSono(inf.getSono());
189
                 dtl.setSono(inf.getSono());
190
                 dtl.setSoOrderNo(inf.getSono());
190
                 dtl.setSoOrderNo(inf.getSono());
191
+                dtl.setAllocationCategory(feiyongleixing.getAllocationCategory());
191
 
192
 
192
 
193
 
193
                 purStlProdDtlMapper.insert(dtl);
194
                 purStlProdDtlMapper.insert(dtl);

Ładowanie…
Anuluj
Zapisz