Loading censoft-rongtong/src/main/java/com/censoft/censoftrongtong/service/impl/LedgerFloorServiceImpl.java +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ public class LedgerFloorServiceImpl extends MPJBaseServiceImpl<LedgerFloorMapper LedgerFloor query = new LedgerFloor(); query.setBuildingId(buildingId); query.setStatus("0"); query.setDelFlag("0"); List<LedgerFloor> ledgerFloors = selectLedgerFloorList(query); return getLedgerFloorDtoListByLedgerFloor(ledgerFloors); } Loading censoft-rongtong/src/main/resources/mapper/system/LedgerBuildingMapper.xml +2 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <foreach item="id" collection="ids" open="(" separator="," close=")"> #{id} </foreach> AND del_flag = '0' AND `status` = '0' </select> <insert id="insertLedgerBuilding" parameterType="com.censoft.censoftrongtong.domain.LedgerBuilding" useGeneratedKeys="true" keyProperty="id"> Loading censoft-rongtong/src/main/resources/mapper/system/LedgerFloorMapper.xml +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="type != null and type != ''"> and tt.type = #{type}</if> <if test="roomNumber != null "> and tt.room_number = #{roomNumber}</if> <if test="status != null and status != ''"> and tt.status = #{status}</if> <if test="delFlag != null and delFlag != ''"> and tt.del_flag = #{delFlag}</if> </where> </select> Loading censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml +7 −0 Original line number Diff line number Diff line Loading @@ -289,6 +289,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="buildingId != null"> AND lf.building_id = #{buildingId}</if> <if test="floorId != null"> AND lf.id = #{floorId}</if> <if test="roomId != null"> AND lr.id = #{roomId}</if> AND rpil.del_flag = '0' AND lr.del_flag = '0' AND lr.`status` = '0' AND lf.del_flag = '0' AND lf.`status` = '0' AND lb.del_flag = '0' AND lb.`status` = '0' </where> ORDER BY sdd.dict_sort DESC Loading censoft-rongtong/src/main/resources/mapper/system/RiskPlanMapper.xml +7 −4 Original line number Diff line number Diff line Loading @@ -187,10 +187,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND rpel.plan_id = rp.id WHERE rp.id = #{planId} AND lf.`status` = '0' AND lf.del_flag = '0' AND lr.`status` = '0' AND rpil.del_flag = '0' AND lr.del_flag = '0' AND lr.`status` = '0' AND lf.del_flag = '0' AND lf.`status` = '0' AND lb.del_flag = '0' AND lb.`status` = '0' <if test="buildingId != null"> AND lb.id = #{buildingId} </if> Loading Loading
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/service/impl/LedgerFloorServiceImpl.java +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ public class LedgerFloorServiceImpl extends MPJBaseServiceImpl<LedgerFloorMapper LedgerFloor query = new LedgerFloor(); query.setBuildingId(buildingId); query.setStatus("0"); query.setDelFlag("0"); List<LedgerFloor> ledgerFloors = selectLedgerFloorList(query); return getLedgerFloorDtoListByLedgerFloor(ledgerFloors); } Loading
censoft-rongtong/src/main/resources/mapper/system/LedgerBuildingMapper.xml +2 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <foreach item="id" collection="ids" open="(" separator="," close=")"> #{id} </foreach> AND del_flag = '0' AND `status` = '0' </select> <insert id="insertLedgerBuilding" parameterType="com.censoft.censoftrongtong.domain.LedgerBuilding" useGeneratedKeys="true" keyProperty="id"> Loading
censoft-rongtong/src/main/resources/mapper/system/LedgerFloorMapper.xml +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="type != null and type != ''"> and tt.type = #{type}</if> <if test="roomNumber != null "> and tt.room_number = #{roomNumber}</if> <if test="status != null and status != ''"> and tt.status = #{status}</if> <if test="delFlag != null and delFlag != ''"> and tt.del_flag = #{delFlag}</if> </where> </select> Loading
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml +7 −0 Original line number Diff line number Diff line Loading @@ -289,6 +289,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="buildingId != null"> AND lf.building_id = #{buildingId}</if> <if test="floorId != null"> AND lf.id = #{floorId}</if> <if test="roomId != null"> AND lr.id = #{roomId}</if> AND rpil.del_flag = '0' AND lr.del_flag = '0' AND lr.`status` = '0' AND lf.del_flag = '0' AND lf.`status` = '0' AND lb.del_flag = '0' AND lb.`status` = '0' </where> ORDER BY sdd.dict_sort DESC Loading
censoft-rongtong/src/main/resources/mapper/system/RiskPlanMapper.xml +7 −4 Original line number Diff line number Diff line Loading @@ -187,10 +187,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND rpel.plan_id = rp.id WHERE rp.id = #{planId} AND lf.`status` = '0' AND lf.del_flag = '0' AND lr.`status` = '0' AND rpil.del_flag = '0' AND lr.del_flag = '0' AND lr.`status` = '0' AND lf.del_flag = '0' AND lf.`status` = '0' AND lb.del_flag = '0' AND lb.`status` = '0' <if test="buildingId != null"> AND lb.id = #{buildingId} </if> Loading