Ver código fonte

/、qrcode

release_toaliyun_real
xhxu 4 anos atrás
pai
commit
098d61fbd9
4 arquivos alterados com 8 adições e 10 exclusões
  1. +4
    -6
      mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java
  2. +2
    -2
      mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml
  3. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml
  4. +1
    -1
      mallinkService/src/main/resources/mapper/WxMerchantMapper.xml

+ 4
- 6
mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java Ver arquivo

@@ -42,12 +42,10 @@ public class WxAppinfoServiceImpl implements WxAppinfoService {
public WxAppinfo getCAppInfo(TenantEntity tenantEntity,EnumAppPlat appPlat) { public WxAppinfo getCAppInfo(TenantEntity tenantEntity,EnumAppPlat appPlat) {
WxAppinfo appInfo = null; WxAppinfo appInfo = null;
WxAppinfo appinfoQ = new WxAppinfo(); WxAppinfo appinfoQ = new WxAppinfo();
// if (null == appPlat) {
// appinfoQ.setPlat(EnumAppPlat.WX.getCode());
// }else {
// appinfoQ.setPlat(appPlat.getCode());
// }
if (appPlat != null) {
appinfoQ.setPlat(appPlat.getCode());
}

appinfoQ.updateTenantInfo(tenantEntity); appinfoQ.updateTenantInfo(tenantEntity);
appinfoQ.setType(EnumAppType.C.getCode()); appinfoQ.setType(EnumAppType.C.getCode());
List<WxAppinfo> appList = wxAppinfoMapper.selectList(new QueryWrapper(appinfoQ)); List<WxAppinfo> appList = wxAppinfoMapper.selectList(new QueryWrapper(appinfoQ));


+ 2
- 2
mallinkService/src/main/resources/mapper/WxAuthorizerInfoMapper.xml Ver arquivo

@@ -310,7 +310,7 @@
<include refid="allVColumns"/> <include refid="allVColumns"/>
from wx_authorizer_info ai from wx_authorizer_info ai
left join wx_appinfo a on ai.`authorizer_appid` = a.app_id left join wx_appinfo a on ai.`authorizer_appid` = a.app_id
where a.type = 1 or a.type = 2
where (a.type = 1 or a.type = 2)
</select> </select>


<select id="findWxMpList" resultMap="VBaseResultMap"> <select id="findWxMpList" resultMap="VBaseResultMap">
@@ -318,7 +318,7 @@
<include refid="allVColumns"/> <include refid="allVColumns"/>
from wx_authorizer_info ai from wx_authorizer_info ai
left join wx_appinfo a on ai.`authorizer_appid` = a.app_id left join wx_appinfo a on ai.`authorizer_appid` = a.app_id
where a.type = 3 or a.type = 4
where (a.type = 3 or a.type = 4)
</select> </select>






+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml Ver arquivo

@@ -426,7 +426,7 @@
</delete> </delete>


<select id="findQrcodeEmptyList" resultType="com.iformall.domain.po.WxCouponChannel"> <select id="findQrcodeEmptyList" resultType="com.iformall.domain.po.WxCouponChannel">
select * from wx_coupon_channel where qr_code is null or tt_qr_code is null
select * from wx_coupon_channel where (qr_code is null or tt_qr_code is null)
</select> </select>
<update id="cardDefer"> <update id="cardDefer">


+ 1
- 1
mallinkService/src/main/resources/mapper/WxMerchantMapper.xml Ver arquivo

@@ -539,7 +539,7 @@
</select> </select>


<select id="findQrcodeEmptyList" resultMap="BaseResultMap"> <select id="findQrcodeEmptyList" resultMap="BaseResultMap">
select * from wx_merchant where qr_code is null or tt_qr_code is null;
select * from wx_merchant where (qr_code is null or tt_qr_code is null);
</select> </select>


<select id="findBusByFloorId" resultType="hashmap" parameterType="hashmap"> <select id="findBusByFloorId" resultType="hashmap" parameterType="hashmap">


Carregando…
Cancelar
Salvar