本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
server
/
formallProject
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
[系统发卡][修改][发卡]
release_toaliyun_real
gongbiao
6 年之前
父節點
3e9f2231cb
當前提交
5687d3420d
共有
2 個檔案被更改
,包括
2 行新增
和
1 行删除
統一視圖
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java
+1
-1
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml
+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java
查看文件
@@ -117,6 +117,7 @@ public class WxCouponPresentServiceImpl implements WxCouponPresentService {
//发送
//发送
sendMsg(tenantId, phone, priceStr, name, couponPassword.getPassword());
sendMsg(tenantId, phone, priceStr, name, couponPassword.getPassword());
//记录发送数据便于更新状态
//记录发送数据便于更新状态
couponPassword.setSendedPhone(phone);
tempList.add(couponPassword);
tempList.add(couponPassword);
i++;
i++;
}
}
+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml
查看文件
@@ -120,7 +120,7 @@
<update id="updateStatus" parameterType="java.util.List">
<update id="updateStatus" parameterType="java.util.List">
<foreach collection="list" item="item" index="index" open="" close="" separator=";">
<foreach collection="list" item="item" index="index" open="" close="" separator=";">
update wx_coupon_password set status=1 where id = ${item.id}
update wx_coupon_password set status=1
,send_phone=#{sendPhone},update_date=now()
where id = ${item.id}
</foreach>
</foreach>
</update>
</update>
Write
Preview
Loading…
取消
儲存