luobang 2 years ago
parent
commit
eee9f4f777

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

@@ -2025,7 +2025,7 @@
                     (CASE WHEN
                         TLFR.RESULT_OUT_GATE_TIME IS NULL
                         then null
-                        WHEN OO.PRINTNUMBER = 1
+                        WHEN OO.PRINTNUMBER >= 1
                         then '已打印'
                         else  '未打印'
                         END)  "isPrintDelivery",

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

@@ -1383,7 +1383,9 @@
 
     <update id="changeNumber">
         update OMSTRUCK_ORDER oo
-        set oo.PRINTNUMBER= nvl(oo.PRINTNUMBER,0) + 1,oo.PRINTDATE=sysdate
+        set oo.PRINTNUMBER= nvl(oo.PRINTNUMBER,0) + 1,
+            oo.PRINTDATE=sysdate,
+            oo.INSERT_UPDATE_REMARK = '修改送货单打印次数'
         where oo.ORDER_NUMBER=#{orderNumber} and OO.ORDER_STATUS=5
     </update>
 

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

@@ -777,7 +777,8 @@
     </select>
     <update id="updateLineId">
         UPDATE OMSTRUCK_ORDER
-        SET LINE_ID=#{lineId}
+        SET LINE_ID=#{lineId},
+        ORDER_STATUS = '修改线路ID'
         <if test="orderStatus!=null">
             ,ORDER_STATUS=#{orderStatus}
         </if>