Procházet zdrojové kódy

[消息限制][修改]:字段名错误

release_toaliyun_real
Stormeye Wu před 7 roky
rodič
revize
7e7b58417a
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxMsgLimitMapper.xml Zobrazit soubor

@@ -62,12 +62,12 @@
</select> </select>


<update id="updateLimitNum" parameterType="com.iformall.domain.po.WxMsgLimit"> <update id="updateLimitNum" parameterType="com.iformall.domain.po.WxMsgLimit">
update wx_msg_limit set limit_num = limit_num - 1 where `id` = #{id} and `tenant_id` = #{tenandId} and limit_num > 1
update wx_msg_limit set limit_num = limit_num - 1 where `id` = #{id} and `tenant_id` = #{tenantId} and limit_num > 1
</update> </update>


<delete id="delLimitNum" parameterType="com.iformall.domain.po.WxMsgLimit"> <delete id="delLimitNum" parameterType="com.iformall.domain.po.WxMsgLimit">
delete from wx_msg_limit delete from wx_msg_limit
where `tenant_id` = #{tenandId} and `type`= #{type} and `limit_id` = #{limitId}
where `tenant_id` = #{tenantId} and `type`= #{type} and `limit_id` = #{limitId}
</delete> </delete>


</mapper> </mapper>

Načítá se…
Zrušit
Uložit