|
|
|
@@ -19,14 +19,14 @@ |
|
|
|
<result column="modelnotifyurl" jdbcType="VARCHAR" property="modelnotifyurl" /> |
|
|
|
<result column="verifynotifyurl" jdbcType="VARCHAR" property="verifynotifyurl" /> |
|
|
|
<result column="appid" jdbcType="VARCHAR" property="appid" /> |
|
|
|
<result column="isAliyunSMS" jdbcType="SMALLINT" property="isAliyunSMS" /> |
|
|
|
<result column="sms_channel" jdbcType="SMALLINT" property="smsChannel" /> |
|
|
|
|
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`secret`,`publickey`,`bid`,`recharge`,`remains`,`total`,`account`, |
|
|
|
`reminderstatus`,`reminder`,`phone`,`notifyurl`,`modelnotifyurl`,`verifynotifyurl`,`appid`,`isAliyunSMS` |
|
|
|
`reminderstatus`,`reminder`,`phone`,`notifyurl`,`modelnotifyurl`,`verifynotifyurl`,`appid`,`sms_channel` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -104,8 +104,8 @@ |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != isAliyunSMS "> |
|
|
|
and `appid` = #{isAliyunSMS} |
|
|
|
<if test=" null != smsChannel "> |
|
|
|
and `sms_channel` = #{smsChannel} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|