Ver Fonte

问题处理

yzc há 1 ano atrás
pai
commit
ff71f404ad

+ 2 - 2
hx-sale/src/main/resources/mapper/contract/ContractMapper.xml

@@ -32,8 +32,8 @@
                                     WHERE cp.contract_id = t1.id)
                                , 0)                       AS settledAmount,
                            po.delivery_period             as prodDeliveryPeriod,
-                           IFNULL(t4.deliverQuantity, 0),
-                           IFNULL(t4.notDeliverQuantity, 0)
+                           IFNULL(t4.deliverQuantity, 0)  as deliverQuantity,
+                           IFNULL(t4.notDeliverQuantity, 0) as notDeliverQuantity
                     FROM contract t1
                              left join customer c on t1.buy_corporation_id = c.id
                              left join sys_user us on c.user_id = us.user_id