Browse Source

电力去掉小数点

hfxc226 2 days ago
parent
commit
6c10246690

+ 1 - 1
platform-dao/src/main/resources/mapper/produce/ProduceReportMapper.xml

@@ -152,7 +152,7 @@
 
     <select id="sumMonthYear" parameterType="com.platform.dao.dto.produce.ProduceReportDTO"
             resultType="com.platform.dao.vo.query.produce.ProduceReportVO">
-        select SUM(value) as totalValue
+        select CONVERT(SUM(value),DECIMAL(17,0)) as totalValue
         from t_produce_report as report
         <where>
             <include refid="List_Condition"/>