1234567891011121314151617181920212223242526 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.miaxis.newgzpt.mapper.GzptSchPayConfigMapper">
- <select id="getSchPayConfigByJxbh" resultType="com.miaxis.newgzpt.domain.GzptSchPayConfig">
- select * from GZPT_SCH_PAY_CONFIG where jxbh =#{jxbh}
- </select>
- <select id="selectSchPayConfigList" resultType="com.miaxis.newgzpt.dto.GzptSchPayConfigDTO">
- select * from GZPT_SCH_PAY_CONFIG
- <where>
- <if test="isOpen != null"> and is_open = #{isOpen }</if>
- <if test="jxmc != null and jxmc != ''"> and jxmc like '%' || #{jxmc,jdbcType=VARCHAR} || '%'</if>
- </where>
- </select>
- <update id="updateSchPayConfigByJxbh" parameterType="com.miaxis.newgzpt.dto.GzptSchPayConfigUpDTO">
- update GZPT_SCH_PAY_CONFIG
- set OPEN_TIME = #{openTime,jdbcType=DATE}, IS_OPEN = #{isOpen} , SYNC = 0
- where jxbh =#{jxbh}
- </update>
- </mapper>
|