全局修改pageNum
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user