|
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
|
+import com.dayaedu.cbs.common.enums.EClientType;
|
|
|
import com.microsvc.toolkit.middleware.oss.OssPluginContext;
|
|
|
import com.microsvc.toolkit.middleware.oss.impl.TencentOssPlugin;
|
|
|
import com.ym.mec.biz.dal.dao.GoodsDao;
|
|
@@ -964,7 +965,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
if(StringUtils.isNotEmpty(innerRepertoryWarnNum)){
|
|
|
String goodsNames = goodsDao.getInnerRepertoryWarnName(innerRepertoryWarnNum);
|
|
|
if(StringUtils.isNotEmpty(goodsNames)){
|
|
|
- sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.SYSTEM_SMS_GOODS_REPERTORY_WARN, receivers, null, 0, null,null,
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.SYSTEM_SMS_GOODS_REPERTORY_WARN, receivers, null, 0, null, EClientType.BACKEND.getCode(),
|
|
|
goodsNames,"内部");
|
|
|
}
|
|
|
}
|
|
@@ -974,7 +975,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
if(StringUtils.isNotEmpty(outerRepertoryWarnNum)){
|
|
|
String goodsNames = goodsDao.getOuterRepertoryWarnName(outerRepertoryWarnNum);
|
|
|
if(StringUtils.isNotEmpty(goodsNames)){
|
|
|
- sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.YIMEI, MessageTypeEnum.SYSTEM_SMS_GOODS_REPERTORY_WARN, receivers, null, 0, null,null,
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.YIMEI, MessageTypeEnum.SYSTEM_SMS_GOODS_REPERTORY_WARN, receivers, null, 0, null,EClientType.BACKEND.getCode(),
|
|
|
goodsNames,"税务");
|
|
|
}
|
|
|
}
|