管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-04-06 a891510e5c2fad1bb321ab55e952d87ba536beb1
1
已修改1个文件
4 ■■■ 文件已修改
src/main/resources/mapper/show/ApplyMapper.xml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/show/ApplyMapper.xml
@@ -26,7 +26,9 @@
    </select>
    <select id="selectByPage" resultType="com.lf.server.entity.show.ApplyEntity">
        select a.*, b.uname, (select count(*) from lf.sys_flow c where c.applyid = a.id and c.status = 0 and c.userid = #{userid}) isVerify
        select
            case a.userid when #{userid} then guid else null end "guid", a.*, b.uname,
            (select count(*) from lf.sys_flow c where c.applyid = a.id and c.status = 0 and c.userid = #{userid}) isVerify
        from lf.sys_apply a inner join lf.sys_user b on a.userid = b.id
        <where>
            1 = 1