Sfoglia il codice sorgente

处方分析(新都)- 自拟方,金额保留两位小数

guowei 2 anni fa
parent
commit
122c222e62

+ 2 - 2
cbkj_web_api/src/main/resources/mappers/statistics/PrescriptionStatisticsMapper.xml

@@ -105,8 +105,8 @@
             WHEN '2' THEN CONCAT_WS(',', p.PRE_SMOKE_TYPE, PRE_FREQUENCY, CONCAT('每袋', PRE_N_ML, 'ml'))
         END PRE_DESCRIPTION,
         p.PRE_NUM,
-        p.MAT_TOL_MONEY,
-        p.PRE_TOL_MONEY,
+        CONVERT(p.MAT_TOL_MONEY, DECIMAL(10,2)),
+        CONVERT(p.PRE_TOL_MONEY, DECIMAL(10,2)),
         i.YPMC_HIS,
         i.MAT_DOSE,
         i.BZDW_HIS,