Commit 2bc058cc by 李小惠

修改消息推送接口

parent 2d1327f9
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -206,4 +206,6 @@ public class InventoryReq extends BaseRequest { ...@@ -206,4 +206,6 @@ public class InventoryReq extends BaseRequest {
private String bussinessType; private String bussinessType;
private String number;
} }
...@@ -25,5 +25,6 @@ public class QueryEquipmentTypeReq { ...@@ -25,5 +25,6 @@ public class QueryEquipmentTypeReq {
private String name; private String name;
private String typeIds; private String typeIds;
private String sizeIds; private String sizeIds;
private String typeId;
} }
...@@ -14,6 +14,7 @@ public enum InventoryExceptionEnum implements IExceptionEnum { ...@@ -14,6 +14,7 @@ public enum InventoryExceptionEnum implements IExceptionEnum {
ORDER_HAS_START(CommonConstant.DEFAULT_BIZ_ERROR_CODE,"单据已经开始,请勿重复操作"), ORDER_HAS_START(CommonConstant.DEFAULT_BIZ_ERROR_CODE,"单据已经开始,请勿重复操作"),
RUNNINGORDER_EXIST(CommonConstant.DEFAULT_BIZ_ERROR_CODE,"已存在盘点单据"), RUNNINGORDER_EXIST(CommonConstant.DEFAULT_BIZ_ERROR_CODE,"已存在盘点单据"),
ORDER_CLOSED(CommonConstant.DEFAULT_BIZ_ERROR_CODE,"单据已结算,无法重复操作"), ORDER_CLOSED(CommonConstant.DEFAULT_BIZ_ERROR_CODE,"单据已结算,无法重复操作"),
INVERTORY_IS_NULL(CommonConstant.DEFAULT_USER_ERROR_CODE,"导入的装备为空"),
/** /**
* 装备不存在 * 装备不存在
*/ */
......
...@@ -94,5 +94,7 @@ public class EquipmentSize implements Serializable { ...@@ -94,5 +94,7 @@ public class EquipmentSize implements Serializable {
@TableField(value = "instructions") @TableField(value = "instructions")
private String instructions; private String instructions;
@TableField(exist = false)
private String typeName;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
} }
\ No newline at end of file
...@@ -302,7 +302,7 @@ import static com.junmp.junmpProcess.common.CommonConstants.*; ...@@ -302,7 +302,7 @@ import static com.junmp.junmpProcess.common.CommonConstants.*;
} }
sendReq.setPriority("0"); sendReq.setPriority("0");
sendReq.setSendTime(DateTime.now()); sendReq.setSendTime(DateTime.now());
messageApi.sendMessage(sendReq); messageApi.sendMessageNoToken(sendReq);
messageApi.queryCount(new MessageReq()); messageApi.queryCount(new MessageReq());
/*推送发送未读数量*/ /*推送发送未读数量*/
MessageReq req1 = new MessageReq(); MessageReq req1 = new MessageReq();
......
...@@ -38,4 +38,6 @@ public interface EquipmentSizeMapper extends BaseMapper<EquipmentSize> { ...@@ -38,4 +38,6 @@ public interface EquipmentSizeMapper extends BaseMapper<EquipmentSize> {
List<String> searchByTypeIds(@Param("list") List<String> typeIdsList); List<String> searchByTypeIds(@Param("list") List<String> typeIdsList);
List<SizeDto> alignSizeInfo(@Param("date") String date); List<SizeDto> alignSizeInfo(@Param("date") String date);
List<EquipmentSize> distinctByName(@Param("list") List<EquipmentSize> locationList);
} }
\ No newline at end of file
...@@ -87,9 +87,7 @@ public interface InventorySummaryMapper extends BaseMapper<InventorySummary> { ...@@ -87,9 +87,7 @@ public interface InventorySummaryMapper extends BaseMapper<InventorySummary> {
int selectSumByItemsCount(@Param("req") InventoryReq req); int selectSumByItemsCount(@Param("req") InventoryReq req);
List<InventoryDto> GetDetailByTerms(@Param("req") InventoryReq req, List<InventoryDto> GetDetailByTerms(@Param("req") InventoryReq req);
@Param("pageNo") Long pageNo,
@Param("pageSize") Long pageSize);
void useViewOrgIdInSubordinate(@Param("sql") String sql); void useViewOrgIdInSubordinate(@Param("sql") String sql);
......
...@@ -32,6 +32,8 @@ public interface EquipmentSizeService extends IService<EquipmentSize> { ...@@ -32,6 +32,8 @@ public interface EquipmentSizeService extends IService<EquipmentSize> {
List<SizeDto> alignSizeInfo(UpdateEquipmentSizeReq req); List<SizeDto> alignSizeInfo(UpdateEquipmentSizeReq req);
List<EquipmentSize> distinctByName(List<EquipmentSize> sizeList);
//根据typeId拿到装备typeIds //根据typeId拿到装备typeIds
// List<String> selectByTypeIds(List<String> typeIdsList); // List<String> selectByTypeIds(List<String> typeIdsList);
......
...@@ -220,7 +220,7 @@ public class BusFormServiceImpl extends ServiceImpl<BusFormMapper, BusForm> impl ...@@ -220,7 +220,7 @@ public class BusFormServiceImpl extends ServiceImpl<BusFormMapper, BusForm> impl
if (CollectionUtil.isNotEmpty(msgs)){ if (CollectionUtil.isNotEmpty(msgs)){
msgs.forEach(msg-> msgs.forEach(msg->
{ {
messageApi.sendMessage(msg); messageApi.sendMessageNoToken(msg);
} }
......
...@@ -144,7 +144,7 @@ public class BussinessInventoryServiceImpl extends ServiceImpl<BussinessInventor ...@@ -144,7 +144,7 @@ public class BussinessInventoryServiceImpl extends ServiceImpl<BussinessInventor
if (CollectionUtil.isNotEmpty(msgs)){ if (CollectionUtil.isNotEmpty(msgs)){
msgs.forEach(msg-> msgs.forEach(msg->
{ {
messageApi.sendMessage(msg); messageApi.sendMessageNoToken(msg);
} }
); );
...@@ -426,6 +426,33 @@ public class BussinessInventoryServiceImpl extends ServiceImpl<BussinessInventor ...@@ -426,6 +426,33 @@ public class BussinessInventoryServiceImpl extends ServiceImpl<BussinessInventor
bussinessInventoryDetailService.saveBatch(BDList); bussinessInventoryDetailService.saveBatch(BDList);
} }
warehouseService.updateById(warehouse); warehouseService.updateById(warehouse);
//盘点进行中,需要为所有人员推送信息
MessageSendReq sendReq = new MessageSendReq();
String historyAssign = bi.getHistoryAssign();
List<String> userIdsList=new ArrayList<>();
if (ObjectUtil.isNotEmpty(historyAssign)){
userIdsList = Arrays.asList(historyAssign.split(","));
}
for (String userId:userIdsList) {
sendReq.setReceiveUserIds(userId);
sendReq.setMsgTitle("盘点提醒");
sendReq.setMsgContent("盘库单:【"+bi.getOrderNum()+"】正在进行盘点,仓库:"+bi.getWarehouseName()+"已锁定");
sendReq.setPriority("0");
sendReq.setSendTime(DateTime.now());
messageApi.sendMessageNoToken(sendReq);
}
/*推送发送未读数量*/
for(String userId:userIdsList){
MessageReq req1 = new MessageReq();
req1.setReadFlag(0);
req1.setReceiveUserId(Long.parseLong(userId));
Integer count1 = messageApi.queryCount(req1);
messageApi.pushMsgToUser(userId,count1);
}
if (bi!=null) if (bi!=null)
{ {
bi.setInventoryState("running"); bi.setInventoryState("running");
...@@ -514,27 +541,7 @@ public class BussinessInventoryServiceImpl extends ServiceImpl<BussinessInventor ...@@ -514,27 +541,7 @@ public class BussinessInventoryServiceImpl extends ServiceImpl<BussinessInventor
uniqueOrgIDsList.add(BI.getOrgId()); uniqueOrgIDsList.add(BI.getOrgId());
//查询组织机构下面的所有仓管员的useId //查询组织机构下面的所有仓管员的useId
List<InvExpireReq> userIdsList=inventoryMapper.selectUserListByOrgs(uniqueOrgIDsList,"1663372320355389441"); List<InvExpireReq> userIdsList=inventoryMapper.selectUserListByOrgs(uniqueOrgIDsList,"1663372320355389441");
//盘点进行中,需要为所有人员推送信息
MessageSendReq sendReq = new MessageSendReq();
// for (InvExpireReq userIds:userIdsList) {
// sendReq.setReceiveUserIds(userIds.getUserId());
// sendReq.setMsgTitle("盘点提醒");
// sendReq.setMsgContent("盘库单:【"+BI.getOrderNum()+"】正在进行盘点,仓库:"+BI.getWarehouseName()+"已锁定");
// sendReq.setPriority("0");
// sendReq.setSendTime(DateTime.now());
// messageApi.sendMessage(sendReq);
//
// }
//
// /*推送发送未读数量*/
// for(InvExpireReq userIds:userIdsList){
// MessageReq req1 = new MessageReq();
// req1.setReadFlag(0);
// req1.setReceiveUserId(Long.parseLong(userIds.getUserId()));
// Integer count1 = messageApi.queryCount(req1);
// messageApi.pushMsgToUser(userIds.getUserId(),count1);
// }
return true; return true;
} }
......
...@@ -238,6 +238,12 @@ public class EquipmentSizeServiceImpl extends ServiceImpl<EquipmentSizeMapper, E ...@@ -238,6 +238,12 @@ public class EquipmentSizeServiceImpl extends ServiceImpl<EquipmentSizeMapper, E
return equipmentSizeMapper.alignSizeInfo(date); return equipmentSizeMapper.alignSizeInfo(date);
} }
@Override
public List<EquipmentSize> distinctByName(List<EquipmentSize> sizeList) {
return equipmentSizeMapper.distinctByName(sizeList);
}
public List<String> selectByTypeIds(List<String> typeIdsList){ public List<String> selectByTypeIds(List<String> typeIdsList){
List<String> list1=new ArrayList<>(); List<String> list1=new ArrayList<>();
......
...@@ -549,6 +549,7 @@ public class EquipmentTypeServiceImpl extends ServiceImpl<EquipmentTypeMapper, E ...@@ -549,6 +549,7 @@ public class EquipmentTypeServiceImpl extends ServiceImpl<EquipmentTypeMapper, E
wrapper.ne(EquipmentType::getId, "00000000-0000-0000-0000-000000000000"); wrapper.ne(EquipmentType::getId, "00000000-0000-0000-0000-000000000000");
wrapper.eq(ObjectUtil.isNotEmpty(req.getType()), EquipmentType::getType,req.getType() ); wrapper.eq(ObjectUtil.isNotEmpty(req.getType()), EquipmentType::getType,req.getType() );
wrapper.like(ObjectUtil.isNotEmpty(req.getName()), EquipmentType::getName,req.getName() ); wrapper.like(ObjectUtil.isNotEmpty(req.getName()), EquipmentType::getName,req.getName() );
wrapper.eq(ObjectUtil.isNotEmpty(req.getTypeId()),EquipmentType::getId,req.getTypeId());
wrapper.orderByDesc(EquipmentType::getCreateTime); wrapper.orderByDesc(EquipmentType::getCreateTime);
return wrapper; return wrapper;
......
...@@ -21,6 +21,7 @@ import com.junmp.jyzb.api.bean.vo.InventoryVo; ...@@ -21,6 +21,7 @@ import com.junmp.jyzb.api.bean.vo.InventoryVo;
import com.junmp.jyzb.api.exception.enums.CabinetBoxExceptionEnum; import com.junmp.jyzb.api.exception.enums.CabinetBoxExceptionEnum;
import com.junmp.jyzb.api.exception.enums.CabinetExceptionEnum; import com.junmp.jyzb.api.exception.enums.CabinetExceptionEnum;
import com.junmp.jyzb.api.exception.enums.InventoryExceptionEnum; import com.junmp.jyzb.api.exception.enums.InventoryExceptionEnum;
import com.junmp.jyzb.api.exception.enums.PubOrgExceptionEnum;
import com.junmp.jyzb.entity.*; import com.junmp.jyzb.entity.*;
import com.junmp.jyzb.mapper.InventorySummaryMapper; import com.junmp.jyzb.mapper.InventorySummaryMapper;
...@@ -256,8 +257,12 @@ public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory ...@@ -256,8 +257,12 @@ public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory
public PageResult<InventoryDto> GetDetailByTerms(InventoryReq req) { public PageResult<InventoryDto> GetDetailByTerms(InventoryReq req) {
// //根据条件查询仓库下的所有装备 // //根据条件查询仓库下的所有装备
int size=inventorySummaryMapper.selectSumByItemsCount(req); int size=inventorySummaryMapper.selectSumByItemsCount(req);
List<InventoryDto> returnList=inventorySummaryMapper.GetDetailByTerms(req,(req.getPageNo()-1)*req.getPageSize(),req.getPageSize());
Page<InventoryDto> page1 = PageFactory.getDefaultPage(req.getPageNo(), req.getPageSize()); Page<InventoryDto> page1 = PageFactory.getDefaultPage(req.getPageNo(), req.getPageSize());
Long a=(req.getPageNo()-1)*req.getPageSize();
req.setPageNo((req.getPageNo()-1)*req.getPageSize());
List<InventoryDto> returnList=inventorySummaryMapper.GetDetailByTerms(req);
page1.setRecords(returnList); page1.setRecords(returnList);
page1.setTotal(size); page1.setTotal(size);
return PageResultFactory.createPageResult(page1); return PageResultFactory.createPageResult(page1);
...@@ -678,6 +683,40 @@ public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory ...@@ -678,6 +683,40 @@ public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory
@Override @Override
public boolean EqsImport(InventoryReq req) { public boolean EqsImport(InventoryReq req) {
List<InventoryReq> eqsList = req.getEqsList(); List<InventoryReq> eqsList = req.getEqsList();
PubOrg pubOrg = new PubOrg();
if (CollectionUtil.isNotEmpty(eqsList)){
pubOrg = pubOrgService.getOne(new LambdaQueryWrapper<PubOrg>()
.eq(PubOrg::getOrgName, eqsList.get(0).getOrgName())
.or()
.eq(PubOrg::getDName, eqsList.get(0).getOrgName()));
}else {
throw new ServiceException(InventoryExceptionEnum.INVERTORY_IS_NULL);
}
//创建4个对应的map去数据库进行查询
Map<String,String> locationMap=new HashMap<>();
Map<String,String> typeMap=new HashMap<>();
Map<String,String> sizeMap=new HashMap<>();
Map<String,String> supplierMap=new HashMap<>();
for (InventoryReq inv:eqsList) {
locationMap.putIfAbsent(inv.getLocationName(),inv.getLocationName());
typeMap.putIfAbsent(inv.getTypeName(),inv.getTypeName());
sizeMap.putIfAbsent(inv.getSizeName(),inv.getSizeName()+"-"+inv.getTypeName());
supplierMap.putIfAbsent(inv.getSupplierName(),inv.getSupplierName());
}
List<String> locationList = new ArrayList<>(locationMap.values());
List<EquipmentSize> sizeList = new ArrayList<>();
for (String item:typeMap.values()) {
String[] parts = item.split("-");
String sizeName = parts[0].trim();
String typeName = parts[1].trim();
EquipmentSize equipmentSize = new EquipmentSize();
equipmentSize.setName(sizeName);
equipmentSize.setTypeName(typeName);
sizeList.add(equipmentSize);
}
List<String> typeList = new ArrayList<>(sizeMap.values());
List<String> supplierList = new ArrayList<>(supplierMap.values());
List<EquipmentSize> equipmentSizeList = equipmentSizeService.distinctByName(sizeList);
return false; return false;
} }
......
...@@ -361,7 +361,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain ...@@ -361,7 +361,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
if (CollectionUtil.isNotEmpty(msgs)){ if (CollectionUtil.isNotEmpty(msgs)){
msgs.forEach(msg-> msgs.forEach(msg->
{ {
messageApi.sendMessage(msg); messageApi.sendMessageNoToken(msg);
} }
); );
......
...@@ -1752,7 +1752,7 @@ public class PolicemanServiceImpl extends ServiceImpl<PolicemanMapper, Policeman ...@@ -1752,7 +1752,7 @@ public class PolicemanServiceImpl extends ServiceImpl<PolicemanMapper, Policeman
if (CollectionUtil.isNotEmpty(msgs)){ if (CollectionUtil.isNotEmpty(msgs)){
msgs.forEach(msg-> msgs.forEach(msg->
{ {
messageApi.sendMessage(msg); messageApi.sendMessageNoToken(msg);
} }
); );
......
...@@ -116,7 +116,7 @@ public class PublicServiceImpl implements PublicService { ...@@ -116,7 +116,7 @@ public class PublicServiceImpl implements PublicService {
sendReq.setMsgContent("消息更新"); sendReq.setMsgContent("消息更新");
sendReq.setPriority("1"); sendReq.setPriority("1");
sendReq.setSendTime(DateTime.now()); sendReq.setSendTime(DateTime.now());
messageApi.sendMessage(sendReq); messageApi.sendMessageNoToken(sendReq);
} }
}); });
return true; return true;
......
...@@ -116,7 +116,7 @@ public class InvExpireMsg implements JobAction { ...@@ -116,7 +116,7 @@ public class InvExpireMsg implements JobAction {
invExpireReq.getSizeName()+"装备已经过质保期,数量为"+invExpireReq.getSumExpireNumber()); invExpireReq.getSizeName()+"装备已经过质保期,数量为"+invExpireReq.getSumExpireNumber());
sendReq.setPriority("0"); sendReq.setPriority("0");
sendReq.setSendTime(DateTime.now()); sendReq.setSendTime(DateTime.now());
messageApi.sendMessage(sendReq); messageApi.sendMessageNoToken(sendReq);
} }
} }
} }
......
...@@ -92,7 +92,7 @@ public class InvOverDueMsg implements JobAction { ...@@ -92,7 +92,7 @@ public class InvOverDueMsg implements JobAction {
sendReq.setMsgContent("单据id为:"+orderMain.getId()+"的领用单已超期,请及时查看处理"); sendReq.setMsgContent("单据id为:"+orderMain.getId()+"的领用单已超期,请及时查看处理");
sendReq.setPriority("0"); sendReq.setPriority("0");
sendReq.setSendTime(DateTime.now()); sendReq.setSendTime(DateTime.now());
messageApi.sendMessage(sendReq); messageApi.sendMessageNoToken(sendReq);
userIdsList.add(orderMain.getReturnUserId()); userIdsList.add(orderMain.getReturnUserId());
} }
......
...@@ -81,7 +81,7 @@ public class InvThresholdMsg implements JobAction { ...@@ -81,7 +81,7 @@ public class InvThresholdMsg implements JobAction {
sendReq.setMsgContent(inventorySummary.getLocationName()+"仓库下的"+inventorySummary.getTypeName()+"号型为"+inventorySummary.getSizeName()+"的物资低于阈值"); sendReq.setMsgContent(inventorySummary.getLocationName()+"仓库下的"+inventorySummary.getTypeName()+"号型为"+inventorySummary.getSizeName()+"的物资低于阈值");
sendReq.setPriority("0"); sendReq.setPriority("0");
sendReq.setSendTime(DateTime.now()); sendReq.setSendTime(DateTime.now());
messageApi.sendMessage(sendReq); messageApi.sendMessageNoToken(sendReq);
} }
messageApi.queryCount(new MessageReq()); messageApi.queryCount(new MessageReq());
/*推送发送未读数量*/ /*推送发送未读数量*/
......
...@@ -493,8 +493,10 @@ ...@@ -493,8 +493,10 @@
sum(case when location_type=1 then stock_number else 0 end)as djgstockNumber, sum(case when location_type=1 then stock_number else 0 end)as djgstockNumber,
sum(case when location_type=1 then outbound_number else 0 end)as djgoutboundNumber, sum(case when location_type=1 then outbound_number else 0 end)as djgoutboundNumber,
sum(destruction_number)as destructionNumber, sum(destruction_number)as destructionNumber,
sum(expire_number)as expireNumber,sum(broken_number)as brokenNumber, sum(expire_number)as expireNumber,
sum(fix_number)as fixNumber,sum(use_number)as useNumber sum(broken_number)as brokenNumber,
sum(fix_number)as fixNumber,
sum(use_number)as useNumber
FROM base_inventory_summary where SUBSTRING( org_code, 1, #{length} ) = #{req.findCode} FROM base_inventory_summary where SUBSTRING( org_code, 1, #{length} ) = #{req.findCode}
<if test="length != 12"> <if test="length != 12">
<if test="req.levelType == 0"> <if test="req.levelType == 0">
......
...@@ -96,4 +96,8 @@ ...@@ -96,4 +96,8 @@
and update_time &gt; #{date} and update_time &gt; #{date}
</if> </if>
</select> </select>
<select id="distinctByName" resultType="com.junmp.jyzb.entity.EquipmentSize">
</select>
</mapper> </mapper>
\ No newline at end of file
...@@ -807,7 +807,7 @@ ...@@ -807,7 +807,7 @@
i.production_date,i.warranty_period,i.maintenance_period, i.term_state,i.property, i.production_date,i.warranty_period,i.maintenance_period, i.term_state,i.property,
i.area_id, i.area_id,
bs.name as supplier_name, bs.name as supplier_name,
(select instructions FROM base_equipment_type where id=#{req.typeId}) as instructions, es.instructions as instructions,
(select photo FROM base_equipment_type where id=#{req.typeId}) as type_photo, (select photo FROM base_equipment_type where id=#{req.typeId}) as type_photo,
es.photo as size_photo es.photo as size_photo
FROM base_warehouse_inventory wi FROM base_warehouse_inventory wi
...@@ -841,10 +841,11 @@ ...@@ -841,10 +841,11 @@
and i.maintenance_period=#{req.maintenancePeriod} and i.maintenance_period=#{req.maintenancePeriod}
</if> </if>
ORDER BY wi.type_id,i.size_id ORDER BY wi.type_id,i.size_id
<if test="pageNo != null and pageNo != '' and pageSize != null and pageSize != '' "> <if test="req.pageNo != null and req.pageSize != null">
limit #{pageNo},#{pageSize} limit #{req.pageNo},#{req.pageSize}
</if> </if>
</select> </select>
<select id="selectOrgIds" resultType="java.lang.Long"> <select id="selectOrgIds" resultType="java.lang.Long">
SELECT SELECT
......
...@@ -36,7 +36,7 @@ knife4j: ...@@ -36,7 +36,7 @@ knife4j:
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.1.128:3306/db_jyzb?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true url: jdbc:mysql://192.168.1.128:3306/db_jyzb_test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
username: root username: root
password: 123456 password: 123456
......
...@@ -215,7 +215,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask ...@@ -215,7 +215,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
if (CollectionUtil.isNotEmpty(msgs)){ if (CollectionUtil.isNotEmpty(msgs)){
msgs.forEach(msg-> msgs.forEach(msg->
{ {
messageApi.sendMessage(msg); messageApi.sendMessageNoToken(msg);
} }
); );
...@@ -307,7 +307,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask ...@@ -307,7 +307,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
sendReq.setMsgContent("您提交的审批【"+mainProcess.getName()+"】被驳回,原因:"+comments); sendReq.setMsgContent("您提交的审批【"+mainProcess.getName()+"】被驳回,原因:"+comments);
sendReq.setPriority("0"); sendReq.setPriority("0");
sendReq.setSendTime(DateTime.now()); sendReq.setSendTime(DateTime.now());
messageApi.sendMessage(sendReq); messageApi.sendMessageNoToken(sendReq);
messageApi.queryCount(new MessageReq()); messageApi.queryCount(new MessageReq());
// /*推送发送未读数量*/ // /*推送发送未读数量*/
// MessageReq req1 = new MessageReq(); // MessageReq req1 = new MessageReq();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论