消息修改
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ public class PayCaseCommitteeSubitemController extends JeroController<PayCaseCom
|
||||
paySendContactsMessageDTO.setFlag(ProjectCommon.FLAG0);
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("type","7");// 7为分标委项目
|
||||
json.put("id",payCaseCommitteeSubitem.getId());
|
||||
json.put("id",payCaseCommittee.getId());
|
||||
json.put("abbreviation",payCaseCommittee.getAbbreviation());
|
||||
json.put("path","/subBidCommittee/SubBidCommitteeDetailPage");
|
||||
paySendContactsMessageDTO.setJson(json);
|
||||
|
||||
+1
-1
@@ -180,7 +180,7 @@ public class PayCaseCouncilSubitemController extends JeroController<PayCaseCounc
|
||||
paySendContactsMessageDTO.setFlag(ProjectCommon.FLAG0);
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("type","8"); // 8为理事会项目
|
||||
json.put("id",payCaseCouncilSubitem.getId());
|
||||
json.put("id",payCaseCouncil.getId());
|
||||
json.put("path","/standardsAssociation/CouncilDetailPage");
|
||||
paySendContactsMessageDTO.setJson(json);
|
||||
contractCreateProjectSendMessageService.createProjectSendMessageToContactsService(paySendContactsMessageDTO);
|
||||
|
||||
+2
@@ -25,6 +25,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Date;
|
||||
@@ -66,6 +67,7 @@ public class SystemSendMessageController {
|
||||
@ApiOperation(value="发送站内消息", notes="发送站内消息")
|
||||
@PostMapping(value = "/sendAllUserMessage")
|
||||
// @RequiresPermissions("system:dept:save")
|
||||
@Transactional
|
||||
public Result<?> sendAllUserMessage(@RequestParam("content") String content) {
|
||||
List<PayContactsManagement> listPayContactsManagement = payContactsManagementService.list();
|
||||
if(!CollectionUtils.isEmpty(listPayContactsManagement)){
|
||||
|
||||
Reference in New Issue
Block a user