|
|
@@ -61,7 +61,7 @@ public interface ChargeListDao {
|
|
|
"(select name from yp_zd_unit e where e.code= " +
|
|
|
"(select d.pack_unit from yp_zd_dict d where d.code=charge_code_mx and d.serial=a.serial)) end, " +
|
|
|
"price=abs(round(charge_fee/case when charge_amount=0 then 1 else charge_amount end,2)), " +
|
|
|
- "quantity=a.charge_amount,cost=charge_fee, " +
|
|
|
+ "quantity=a.charge_amount,cost=charge_fee,a.charge_date, " +
|
|
|
"execDept=(select d.name from zd_unit_code d where d.code= " +
|
|
|
"(case when isnull(exec_unit,'')='' then ward_code else exec_unit end)), " +
|
|
|
"billItemCode=case when isnull(nullif(serial,''),'00')='00' then " +
|