update code

dev_xds
haha 2024-04-24 23:03:59 +08:00
parent 0dd90e3f7c
commit 8c4f6c2566
1 changed files with 3 additions and 3 deletions

View File

@ -277,9 +277,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectForBigEnginList" parameterType="SurProjectCostOutput" resultMap="SurProjectCostOutputResult">
SELECT a.id, a.project_id, a.money, a.year, a.month, a.cost_type, sp.projectName remark, a.is_del, a.create_by, a.create_time, a.update_by, a.update_time,a.money2,a.date1,a.date2
FROM sur_project_cost_output a,sur_project sp
WHERE a.project_id=sp.id AND a.cost_type IN (11,12)
SELECT a.id, a.project_id, a.money, a.year, a.month, a.cost_type, CONCAT(sp.projectName,'(',sd.dept_name,')') remark, a.is_del, a.create_by, a.create_time, a.update_by, a.update_time,a.money2,a.date1,a.date2
FROM sur_project_cost_output a,sur_project sp,sys_dept sd
WHERE a.project_id=sp.id AND a.cost_type IN (11,12) AND sd.dept_id=a.deptid
and sp.isDel=0 and sp.progressVisible=0
<if test="id!=null and id>0"> and sp.deptId = #{id}</if>
<if test="proType != null and proType != ''"> and sp.projectType = #{proType}</if>