|
|
@@ -6,6 +6,7 @@
|
|
|
<result column="pbd_pbid" property="pbd_pbid" jdbcType="INTEGER" />
|
|
|
<result column="pbd_detno" property="pbd_detno" jdbcType="INTEGER" />
|
|
|
<result column="pbd_ym" property="pbd_ym" jdbcType="INTEGER" />
|
|
|
+ <result column="pb_date" property="pb_date" jdbcType="TIMESTAMP" />
|
|
|
<result column="pbd_slid" property="pbd_slid" jdbcType="INTEGER" />
|
|
|
<result column="pbd_slcode" property="pbd_slcode" jdbcType="VARCHAR" />
|
|
|
<result column="pbd_slkind" property="pbd_slkind" jdbcType="VARCHAR" />
|
|
|
@@ -68,9 +69,9 @@
|
|
|
<if test="pbd_detno != null" >
|
|
|
pbd_detno,
|
|
|
</if>
|
|
|
- <if test="pbd_ym != null" >
|
|
|
- pbd_ym,
|
|
|
- </if>
|
|
|
+ <!--<if test="pb_date != null" >-->
|
|
|
+ <!--pbd_ym,-->
|
|
|
+ <!--</if>-->
|
|
|
<if test="pbd_slid != null" >
|
|
|
pbd_slid,
|
|
|
</if>
|
|
|
@@ -124,9 +125,9 @@
|
|
|
<if test="pbd_detno != null" >
|
|
|
#{pbd_detno,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="pbd_ym != null" >
|
|
|
- #{pbd_ym,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
+ <!--<if test="pb_date != null" >-->
|
|
|
+ <!--CONVERT(date_format(#{pb_date,jdbcType=TIMESTAMP},'%Y%m'),SIGNED),-->
|
|
|
+ <!--</if>-->
|
|
|
<if test="pbd_slid != null" >
|
|
|
#{pbd_slid,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -183,8 +184,8 @@
|
|
|
<if test="pbd_detno != null" >
|
|
|
pbd_detno = #{pbd_detno,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="pbd_ym != null" >
|
|
|
- pbd_ym = #{pbd_ym,jdbcType=INTEGER},
|
|
|
+ <if test="pb_date != null" >
|
|
|
+ pbd_ym = CONVERT(date_format(#{pb_date,jdbcType=TIMESTAMP},'%Y%m'),SIGNED),
|
|
|
</if>
|
|
|
<if test="pbd_slid != null" >
|
|
|
pbd_slid = #{pbd_slid,jdbcType=INTEGER},
|