| | |
| | | <!-- 查询条件 --> |
| | | <sql id="sqlwhereSearch"> |
| | | WHERE 1=1 |
| | | |
| | | <if test="configId !=null"> |
| | | and config_id = #{configId} |
| | | </if> |
| | |
| | | <if test="orgid !=null and orgid != ''"> |
| | | and orgid = #{orgid} |
| | | </if> |
| | | |
| | | </sql> |
| | | |
| | | <select id="selectConfig" parameterType="SysConfig" resultMap="SysConfigResult"> |
| | |
| | | <select id="selectConfigList" parameterType="SysConfig" resultMap="SysConfigResult"> |
| | | <include refid="selectConfigVo"/> |
| | | WHERE 1=1 |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | |
| | | <if test="configName != null and configName != ''"> |
| | | AND config_name like concat('%', #{configName}, '%') |