Commit 97f7b54d authored by 刘林's avatar 刘林

Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register

parents ecd6b00a 7601f6ef
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
/** /**
* systemctl-消息 * systemctl-消息
*/ */
@FeignClient(contextId = "jyjc", name = "${privilege.feign.name:AMOS-API-PRIVILEGE}", path = "/v1/message", configuration = {XidFeignConfiguration.class}) @FeignClient(contextId = "jyjc", name = "${privilege.feign.name:AMOS-API-PRIVILEGE}", path = "/systemctl/v1/message", configuration = {XidFeignConfiguration.class})
public interface MessageFeignClient { public interface MessageFeignClient {
......
...@@ -784,7 +784,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp ...@@ -784,7 +784,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
*/ */
private void send(String userId, String relationId, String companyType) { private void send(String userId, String relationId, String companyType) {
MessageModel messageModel = new MessageModel(); MessageModel messageModel = new MessageModel();
messageModel.setUserId(userId); messageModel.setRecivers(Collections.singletonList(userId));
messageModel.setMsgTypeLabel("检验检验业务开通"); messageModel.setMsgTypeLabel("检验检验业务开通");
messageModel.setMsgType("openApp"); messageModel.setMsgType("openApp");
messageModel.setTitle("签署承诺书"); messageModel.setTitle("签署承诺书");
...@@ -793,6 +793,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp ...@@ -793,6 +793,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
messageModel.setTerminal("WEB"); messageModel.setTerminal("WEB");
messageModel.setRoutePath(msgDetailPath); messageModel.setRoutePath(msgDetailPath);
messageModel.setCompanyType(companyType); messageModel.setCompanyType(companyType);
messageModel.setIsRead(false);
messageFeignClient.create(messageModel); messageFeignClient.create(messageModel);
} }
...@@ -821,6 +822,8 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp ...@@ -821,6 +822,8 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
BeanUtils.copyProperties(e, licence); BeanUtils.copyProperties(e, licence);
licence.setSequenceNbr(sequence.nextId()); licence.setSequenceNbr(sequence.nextId());
licence.setItemCode(itemCode); licence.setItemCode(itemCode);
licence.setUnitCode(jyjcOpeningApplication.getUnitCode());
licence.setUnitName(jyjcOpeningApplication.getUnitCodeName());
licence.setEnterpriseCertSeq(cert.getSequenceNbr().toString()); licence.setEnterpriseCertSeq(cert.getSequenceNbr().toString());
licences.add(licence); licences.add(licence);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment