| | |
| | | <select id="queryPageList" resultType="cn.gistack.sm.sg.VO.SgGxVO"> |
| | | select * from YWXT.SG_GX gx where 1=1 |
| | | <if test="dto.gxType != null and dto.gxType != ''"> |
| | | and gx.gx_type = #{dto.gxType} |
| | | and gx.gx_type LIKE CONCAT('%', #{dto.gxType}, '%') |
| | | </if> |
| | | <if test="dto.gxName != null and dto.gxName != ''"> |
| | | and gx.gx_name = #{dto.gxName} |
| | | and gx.gx_name LIKE CONCAT('%', #{dto.gxName}, '%') |
| | | </if> |
| | | </select> |
| | | <select id="queryStepByIds" resultType="cn.gistack.sm.sg.DO.SgGxStepDO"> |
| | |
| | | <select id="selectByGxType" resultType="cn.gistack.sm.sg.VO.SgGxVO"> |
| | | select * from YWXT.SG_GX where gx_type = #{gxType} |
| | | </select> |
| | | <select id="getById" resultType="cn.gistack.sm.sg.VO.SgGxVO"> |
| | | select * from YWXT.SG_GX where id = #{id} |
| | | </select> |
| | | </mapper> |