update code

dev_xds
haha 2024-07-01 23:10:46 +08:00
parent 8ed539f272
commit d3c6158ef6
2 changed files with 3 additions and 1 deletions

View File

@ -292,6 +292,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item}
</foreach>
</if>
<if test="createTime!=null "> and a.create_time &gt;= #{createTime}</if>
<if test="updateTime!=null "> and a.create_time &lt;= #{updateTime}</if>
ORDER BY a.create_time
</select>
<select id="groupBYProject" parameterType="SurProjectCostOutput" resultMap="SurProjectCostOutputResult">

View File

@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="sumGroupByType" parameterType="SurProjectWorkingCommittee" resultMap="SurProjectWorkingCommitteeResult">
select sum(x.money) id, c.dict_value workingType,c.dict_label costName
select sum(x.money*10000.0) id, c.dict_value workingType,c.dict_label costName
from (
select a.* from sur_project_working_committee a,sur_project b
where a.projectId=b.id