zx 2 years ago
parent
commit
39e9792b6c

+ 1 - 0
src/main/java/com/steerinfo/dil/service/impl/OmsshipInstructionsCapacityServiceImpl.java

@@ -97,6 +97,7 @@ public class OmsshipInstructionsCapacityServiceImpl implements IOmsshipInstructi
                 rmsCapacity.setCapacityId(rmsCapacityMapper.selectCapacityId());
                 rmsCapacity.setCapacityNumber(capacityNumber);
                 rmsCapacity.setCapacityTypeId(new BigDecimal(3));
+                rmsCapacity.setDeleted(new BigDecimal(0));
                 rmsCapacity.setCapacityTel((String)omsshipInstructionsCapacity.get("instructionContactInf"));
                 if (capacityBookingNumber!=null) {
                     rmsCapacity.setCapacityBookingNumber(capacityBookingNumber);

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/OmsshipInstructionsCapacityMapper.xml

@@ -490,7 +490,7 @@
     LEFT JOIN RMS_CAPACITY rc
     ON oic.CAPACITY_ID = rc.CAPACITY_ID
     WHERE oic.INSTRUCTIONS_ID = #{instructionsId}
-    AND oic.DELETED=0 and oic.DELETED = 3)
+    AND oic.deleted=0)
     <where>
       <if test="capacityName!= null">
         and