maven
9 小时以前 eaed2b68c6ae85f5b7c177a595f5b0b60b5fb3be
src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
@@ -50,7 +50,10 @@
        t1.create_time,
        t1.update_time,
        t1.create_by,
        t2.warn_num
        t2.warn_num,
        t1.box_num,
        t1.carton_specifications,
        t1.dollar_price
        from  procurement_record_storage t1
                  left join sales_ledger_product t2 on t2.id = t1.sales_ledger_product_id and t2.type = 2
                  left join purchase_ledger t3 on t3.id = t2.sales_ledger_id
@@ -140,7 +143,10 @@
        t1.create_time,
        t1.update_time,
        t1.create_by,
        t2.warn_num
        t2.warn_num,
        t1.box_num,
        t1.carton_specifications,
        t1.dollar_price
        from  procurement_record_storage t1
        left join sales_ledger_product t2 on t2.id = t1.sales_ledger_product_id and t2.type = 2
        left join purchase_ledger t3 on t3.id = t2.sales_ledger_id
@@ -195,7 +201,10 @@
            t1.update_time,
            t1.create_time as cTime,
            t1.update_time as uTime,
            t1.create_by
            t1.create_by,
            t1.box_num,
            t1.carton_specifications,
            t1.dollar_price
        from  procurement_record_storage t1
                  left join sales_ledger_product t2 on t2.id = t1.sales_ledger_product_id and t2.type = 2
                  left join purchase_ledger t3 on t3.id = t2.sales_ledger_id