select SUM(CONVERT(charge, DECIMAL)-CONVERT(PaidChargeSum, DECIMAL)) as money from cdj_order where startDate<'1672502400' and pindex_id='89' and xsc_ChargeItemID_id = '1'
select convert(decimal(6, 2), '100'); -- 100.00
select SUM(CONVERT(charge, DECIMAL)-CONVERT(PaidChargeSum, DECIMAL)) as money from cdj_order where startDate<'1672502400' and pindex_id='89' and xsc_ChargeItemID_id = '1'
select convert(decimal(6, 2), '100'); -- 100.00