|
@@ -3,11 +3,24 @@
|
|
|
<mapper namespace="com.miaxis.newgzpt.mapper.GzptSchPayConfigMapper">
|
|
|
|
|
|
|
|
|
+ <resultMap type="GzptSchPayConfig" id="GzptSchPayConfigResult">
|
|
|
+ <result property="id" column="id" />
|
|
|
+ <result property="dqbh" column="dqbh" />
|
|
|
+ <result property="dqmc" column="dqmc" />
|
|
|
+ <result property="jxbh" column="jxbh" />
|
|
|
+ <result property="jxmc" column="jxmc" />
|
|
|
+ <result property="openTime" column="open_time" />
|
|
|
+ <result property="isOpen" column="is_open" />
|
|
|
+ <result property="sync" column="sync" />
|
|
|
+ <result property="syncTime" column="sync_time" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+
|
|
|
<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 id="selectSchPayConfigList" parameterType="com.miaxis.newgzpt.dto.GzptSchPayConfigDTO" resultMap="GzptSchPayConfigResult">
|
|
|
select * from GZPT_SCH_PAY_CONFIG
|
|
|
<where>
|
|
|
<if test="isOpen != null"> and is_open = #{isOpen }</if>
|