全局修改pageNum

This commit is contained in:
huangzj
2023-06-13 14:51:14 +08:00
parent 51df72fd78
commit ccb703f7d1
25 changed files with 45 additions and 45 deletions

View File

@@ -23,7 +23,7 @@
</sql>
<select id="getPageVo" resultType="com.njcn.csdevice.pojo.vo.AppProjectVO">
select a.*,b.id as engineering_id,b.`Name` as engineering_name from cs_project a LEFT JOIN cs_ledger b on a.id = b.id where 1=1
select a.*,b.pid as engineering_id,(select name from cs_ledger c where c.id=b.pid) as engineering_name from cs_project a LEFT JOIN cs_ledger b on a.id = b.id where 1=1
and a.status ="1"
<if test="temp!=null and temp.projectId != null and temp.projectId !=''">
AND a.id = #{temp.projectId}