Browse Source

同步 逻辑修改协同单

liuchaohui 2 năm trước cách đây
mục cha
commit
4764b6b834

+ 13 - 13
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/costLossReview/mapper/xml/SyCostLossReviewMapper.xml

@@ -191,44 +191,44 @@
             AND plan_num = #{sy.planNum}
         </if>
         <if test="sy.poStyleNum != null and sy.poStyleNum !=''">
-            AND JSON_EXTRACT( content, '$.poStyleNum' ) = #{sy.poStyleNum}
+            AND JSON_EXTRACT( cost_info, '$.poStyleNum' ) = #{sy.poStyleNum}
         </if>
         <if test="sy.exportSales != null and sy.exportSales !=''">
-            AND JSON_EXTRACT( content, '$.exportSales' ) = #{sy.exportSales}
+            AND JSON_EXTRACT( cost_info, '$.exportSales' ) = #{sy.exportSales}
         </if>
         <if test="sy.garmentContractno != null and sy.garmentContractno !=''">
-            AND JSON_EXTRACT( content, '$.garmentContractno' ) = #{sy.garmentContractno}
+            AND JSON_EXTRACT( cost_info, '$.garmentContractno' ) = #{sy.garmentContractno}
         </if>
         <if test="sy.department != null and sy.department !=''">
-            AND JSON_EXTRACT( content, '$.department' ) = #{sy.department}
+            AND JSON_EXTRACT( cost_info, '$.department' ) = #{sy.department}
         </if>
         <if test="sy.customerShortame != null and sy.customerShortame !=''">
-            AND JSON_EXTRACT( content, '$.customerShortame' ) = #{sy.customerShortame}
+            AND JSON_EXTRACT( cost_info, '$.customerShortame' ) = #{sy.customerShortame}
         </if>
         <if test="sy.processUnit != null and sy.processUnit !=''">
-            AND JSON_EXTRACT( content, '$.processUnit') = #{sy.processUnit}
+            AND JSON_EXTRACT( cost_info, '$.processUnit') = #{sy.processUnit}
         </if>
         <if test="sy.outdata != null and sy.outdata !=''">
-            AND JSON_EXTRACT( content, '$.outdata' ) = #{sy.outdata}
+            AND JSON_EXTRACT( cost_info, '$.outdata' ) = #{sy.outdata}
         </if>
 
         <if test="sy.planQuantity != null and sy.planQuantity !=''">
-            AND JSON_EXTRACT( content, '$.planQuantity' ) = #{sy.planQuantity}
+            AND JSON_EXTRACT( cost_info, '$.planQuantity' ) = #{sy.planQuantity}
         </if>
         <if test="sy.actualShipquantity != null and sy.actualShipquantity !=''">
-            AND JSON_EXTRACT( content, '$.actualShipquantity' ) = #{sy.actualShipquantity}
+            AND JSON_EXTRACT( cost_info, '$.actualShipquantity' ) = #{sy.actualShipquantity}
         </if>
         <if test="sy.shortseveral != null and sy.shortseveral !=''">
-            AND JSON_EXTRACT( content, '$.shortseveral' ) = #{sy.shortseveral}
+            AND JSON_EXTRACT( cost_info, '$.shortseveral' ) = #{sy.shortseveral}
         </if>
         <if test="sy.shortvalue != null and sy.shortvalue !=''">
-            AND JSON_EXTRACT( content, '$.shortvalue') = #{sy.shortvalue}
+            AND JSON_EXTRACT( cost_info, '$.shortvalue') = #{sy.shortvalue}
         </if>
         <if test="sy.fabricshortcost != null and sy.fabricshortcost !=''">
-            AND JSON_EXTRACT( content, '$.fabricshortcost' ) = #{sy.fabricshortcost}
+            AND JSON_EXTRACT( cost_info, '$.fabricshortcost' ) = #{sy.fabricshortcost}
         </if>
         <if test="sy.preparedBy != null and sy.preparedBy !=''">
-            AND JSON_EXTRACT( content, '$.preparedBy' ) = #{sy.preparedBy}
+            AND JSON_EXTRACT( cost_info, '$.preparedBy' ) = #{sy.preparedBy}
         </if>
     </select>
 </mapper>