| | |
| | | <where> |
| | | 1 = 1 |
| | | <if test="uname != null"> |
| | | and b.uname like #{uname} |
| | | and upper(b.uname) like #{uname} |
| | | </if> |
| | | <if test="status != null"> |
| | | <if test="status == 0"> |
| | |
| | | <where> |
| | | 1 = 1 |
| | | <if test="uname != null"> |
| | | and b.uname like #{uname} |
| | | and upper(b.uname) like #{uname} |
| | | </if> |
| | | <if test="status != null"> |
| | | <if test="status == 0"> |
| | |
| | | <where> |
| | | pipename is not null and not ST_IsEmpty(geom) |
| | | <if test="name != null"> |
| | | and (pipename like #{name} or segname like #{name}) |
| | | and (upper(pipename) like #{name} or upper(segname) like #{name}) |
| | | </if> |
| | | </where> |
| | | order by pipename, segname; |
| | |
| | | and verid = #{verid} |
| | | </if> |
| | | <if test="name != null"> |
| | | and name like #{name} |
| | | and upper(name) like #{name} |
| | | </if> |
| | | </where> |
| | | </select> |
| | |
| | | and verid = #{verid} |
| | | </if> |
| | | <if test="name != null"> |
| | | and name like #{name} |
| | | and upper(name) like #{name} |
| | | </if> |
| | | </where> |
| | | order by id desc |
| | |
| | | select count(*) from lf.sys_publish |
| | | <where> |
| | | <if test="name != null"> |
| | | name like #{name} |
| | | upper(name) like #{name} |
| | | </if> |
| | | </where> |
| | | </select> |
| | |
| | | from lf.sys_publish a |
| | | <where> |
| | | <if test="name != null"> |
| | | name like #{name} |
| | | upper(name) like #{name} |
| | | </if> |
| | | </where> |
| | | order by id |