xhxu 5 лет назад
Родитель
Сommit
8a28cffd71
3 измененных файлов: 7 добавлений и 18 удалений
  1. +2
    -5
      mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml
  2. +3
    -5
      mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml
  3. +2
    -8
      mallinkService/src/main/resources/mapper/WxMsgConfigMapper.xml

+ 2
- 5
mallinkService/src/main/resources/mapper/WxAppinfoMapper.xml Просмотреть файл

@@ -17,14 +17,14 @@
<result column="pay_id" jdbcType="BIGINT" property="payId"/> <result column="pay_id" jdbcType="BIGINT" property="payId"/>
<result column="type" jdbcType="INTEGER" property="type"/> <result column="type" jdbcType="INTEGER" property="type"/>
<result column="pay_bill_id" jdbcType="BIGINT" property="payBillId"/> <result column="pay_bill_id" jdbcType="BIGINT" property="payBillId"/>
<result column="group_support" jdbcType="INTEGER" property="groupSupport"/>
<!-- <result column="group_support" jdbcType="INTEGER" property="groupSupport"/>-->


</resultMap> </resultMap>


<sql id="allColumns"> <sql id="allColumns">
`id`,`tenant_id`,`app_id`,`parent_app_id`,`name`, `id`,`tenant_id`,`app_id`,`parent_app_id`,`name`,
`secret`,`token`,`aes_key`,`msg_data_format`,`access_token`,`last_token_time`,`expires_in`, `secret`,`token`,`aes_key`,`msg_data_format`,`access_token`,`last_token_time`,`expires_in`,
`pay_id`,`type`,`pay_bill_id`,`group_support`
`pay_id`,`type`,`pay_bill_id`
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
@@ -86,9 +86,6 @@
<if test=" null != payBillId "> <if test=" null != payBillId ">
and `pay_bill_id` = #{payBillId} and `pay_bill_id` = #{payBillId}
</if> </if>
<if test=" null != groupSupport ">
and `group_support` = #{groupSupport}
</if>
<if test=" null != ids "> <if test=" null != ids ">
and id in and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


+ 3
- 5
mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml Просмотреть файл

@@ -29,7 +29,7 @@
<result column="refresh_token" jdbcType="VARCHAR" property="refreshToken"/> <result column="refresh_token" jdbcType="VARCHAR" property="refreshToken"/>
<result column="access_token" jdbcType="VARCHAR" property="accessToken"/> <result column="access_token" jdbcType="VARCHAR" property="accessToken"/>
<result column="access_token_expire" jdbcType="TIMESTAMP" property="accessTokenExpire"/> <result column="access_token_expire" jdbcType="TIMESTAMP" property="accessTokenExpire"/>
<result column="group_support" jdbcType="INTEGER" property="groupSupport"/>
<!-- <result column="group_support" jdbcType="INTEGER" property="groupSupport"/>-->
<result column="enable" jdbcType="INTEGER" property="enable"/> <result column="enable" jdbcType="INTEGER" property="enable"/>
</resultMap> </resultMap>


@@ -38,7 +38,7 @@
`base_status`, `base_time`, `domain_status`, `domain_time`, `webdomain_status`, `webdomain_time`, `template_status`, `template_time`, `base_status`, `base_time`, `domain_status`, `domain_time`, `webdomain_status`, `webdomain_time`, `template_status`, `template_time`,
`current_version`,`current_desc`,`release_time`, `current_version`,`current_desc`,`release_time`,
`open_appid`,`bind_open_time`,`refresh_token`, `open_appid`,`bind_open_time`,`refresh_token`,
`access_token`,`access_token_expire`,`group_support`,`enable`
`access_token`,`access_token_expire`,`enable`
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
@@ -115,9 +115,7 @@
<if test=" null != bindOpenTime "> <if test=" null != bindOpenTime ">
and `bind_open_time` = #{bindOpenTime} and `bind_open_time` = #{bindOpenTime}
</if> </if>
<if test=" null != groupSupport ">
and `group_support` = #{groupSupport}
</if>

<if test=" null != enable "> <if test=" null != enable ">
and `enable` = #{enable} and `enable` = #{enable}
</if> </if>


+ 2
- 8
mallinkService/src/main/resources/mapper/WxMsgConfigMapper.xml Просмотреть файл

@@ -18,15 +18,14 @@
<result column="notifyurl" jdbcType="VARCHAR" property="notifyurl" /> <result column="notifyurl" jdbcType="VARCHAR" property="notifyurl" />
<result column="modelnotifyurl" jdbcType="VARCHAR" property="modelnotifyurl" /> <result column="modelnotifyurl" jdbcType="VARCHAR" property="modelnotifyurl" />
<result column="verifynotifyurl" jdbcType="VARCHAR" property="verifynotifyurl" /> <result column="verifynotifyurl" jdbcType="VARCHAR" property="verifynotifyurl" />
<result column="appid" jdbcType="VARCHAR" property="appid" />
<!-- <result column="appid" jdbcType="VARCHAR" property="appid" />-->
<result column="sms_channel" jdbcType="SMALLINT" property="smsChannel" /> <result column="sms_channel" jdbcType="SMALLINT" property="smsChannel" />



</resultMap> </resultMap>
<sql id="allColumns"> <sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`secret`,`publickey`,`bid`,`recharge`,`remains`,`total`,`account`, `id`,`tenant_id`,`parent_tenant_id`,`secret`,`publickey`,`bid`,`recharge`,`remains`,`total`,`account`,
`reminderstatus`,`reminder`,`phone`,`notifyurl`,`modelnotifyurl`,`verifynotifyurl`,`appid`,`sms_channel`
`reminderstatus`,`reminder`,`phone`,`notifyurl`,`modelnotifyurl`,`verifynotifyurl`,`sms_channel`
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">
@@ -99,11 +98,6 @@
</if> </if>


<if test=" null != appid ">
and `appid` = #{appid}

</if>

<if test=" null != smsChannel "> <if test=" null != smsChannel ">
and `sms_channel` = #{smsChannel} and `sms_channel` = #{smsChannel}




Загрузка…
Отмена
Сохранить