Browse Source

后台 看板问题修改

chenc 4 years ago
parent
commit
e6c605b033

+ 1 - 1
src/main/java/org/jeecg/modules/fbsAbnormalWorkingHours/mapper/xml/FbsAbnormalWorkingHoursDescribeMapper.xml

@@ -20,7 +20,7 @@
     <select id="getMonthExceptionByCategoryTwo" resultType="java.util.HashMap">
         SELECT
         fawhd.product label,
-        (fawhd.planned_quantity-sum( fawhd.rejects_number )) sum1,
+        sum( fawhd.rejects_number ) sum1,
         fawhd.planned_quantity sum2
         FROM
         fbs_abnormal_working_hours_describe fawhd

+ 2 - 2
src/main/java/org/jeecg/modules/fbsMomOrder/mapper/xml/FbsMomOrderdetailMapper.xml

@@ -167,8 +167,8 @@
     </select>
 
     <select id="getMonthListGroupDefine12" resultType="org.jeecg.modules.fbsMomOrder.entity.FbsMomOrderdetail">
-        SELECT Round(SUM
-             (i.cInvDefine13 ),2) cInvDefine13,
+        SELECT
+        Round(SUM( (mo.Qty*isnull(i.cInvDefine13,0))  ),2) cInvDefine13,
             SUM ( mo.Qty ) Qty,
             SUM ( mo.QualifiedInQty ) QualifiedInQty,
             m.Define12