Przeglądaj źródła

修改xml文件格式不正确的bug

胡北宽 1 miesiąc temu
rodzic
commit
61cb2d7e30

+ 1
- 1
src/main/java/com/example/backend/service/contract/impl/PurchaseContractServiceImpl.java Wyświetl plik

@@ -127,7 +127,7 @@ public class PurchaseContractServiceImpl implements PurchaseContractService {
127 127
         try {
128 128
             // 保存主表
129 129
             salesContractMapper.insert(contract);
130
-            Long contractId = contract.getContractId();
130
+            Long contractId = contract.getId();
131 131
 
132 132
             // 保存产品明细
133 133
             if (products != null) {

+ 2
- 2
src/main/resources/mapper/CustCtrlMapper.xml Wyświetl plik

@@ -20,8 +20,8 @@
20 20
     <select id="selectLPortByLportName" resultType="com.example.backend.entity.common.CustCtrl">
21 21
         select fno,portName,portCd,portNm,country,countryName
22 22
         from SGGMIIP.portCtrl
23
-        where nvl(del_flag, 0) <>1
24
-        and isnull(country,'')<>''
23
+        where nvl(del_flag, 0) !=1
24
+        and isnull(country,'')!=''
25 25
         and portName = #{lPort}
26 26
         order by fno
27 27
     </select>

Ładowanie…
Anuluj
Zapisz