Commit bcde67be authored by chenhao's avatar chenhao

和代码

parent ca609bb3
......@@ -24,7 +24,11 @@ import com.yeejoin.amos.component.rule.RuleMethod;
@RuleActionBean(beanLabel = "调派报送")
public class PowerTransferAction {
public static final Logger log = LoggerFactory.getLogger(PowerTransferAction.class);
/**
*
*/
public static final Logger log = LoggerFactory.getLogger(PowerTransferAction.class);
@Autowired
private AlertSubmittedServiceImpl alertSubmittedService;
......@@ -41,7 +45,7 @@ public class PowerTransferAction {
* @throws Exception 异常
*/
@RuleMethod(methodLabel = "短信报送", project = "西咸机场119接处警规则")
public void sendcmd(String smsCode, String sendType, List<String> sendIds, Object object) throws Exception {
public void sendcmd(String smsCode, String sendType, List sendIds, Object object) throws Exception {
// alertSubmittedService.ruleCallbackAction(smsCode, sendIds, object);
System.out.println("8796w39879873298798");
......
......@@ -196,9 +196,9 @@ public class RuleAlertCalledService {
alertCallePowerTransferRo.setCompany(new ArrayList<>(i));
alertCallePowerTransferRo.setPowerTransType(type);
StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append(" 患者现状:"+ageGroup);
stringBuffer.append(" 性别:"+presentSituation);
stringBuffer.append(" 年龄段:"+gender);
stringBuffer.append(" 患者现状:"+ageGroup==null?"无":ageGroup);
stringBuffer.append(" 性别:"+presentSituation==null?"无":presentSituation);
stringBuffer.append(" 年龄段:"+gender==null?"无":gender);
alertCallePowerTransferRo.setContent(stringBuffer.toString());
}
// 触发规则
......
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