update code
parent
8ed539f272
commit
d3c6158ef6
|
@ -292,6 +292,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="createTime!=null "> and a.create_time >= #{createTime}</if>
|
||||
<if test="updateTime!=null "> and a.create_time <= #{updateTime}</if>
|
||||
ORDER BY a.create_time
|
||||
</select>
|
||||
<select id="groupBYProject" parameterType="SurProjectCostOutput" resultMap="SurProjectCostOutputResult">
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue