陈昶聿
4 天以前 40f1fd8450ea149f980a1894d0e6f23290c09ad6
【市一】市一院区ID调整
已修改2个文件
18 ■■■■■ 文件已修改
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/CommonTaskController.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/CommonTaskController.java
@@ -4,6 +4,8 @@
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.web.component.RedisMqReceiver;
import com.smartor.domain.CommonTaskcallMQ;
import com.smartor.domain.SendTaskVO;
import com.smartor.domain.ServiceThirdData;
import com.smartor.service.CommonTaskService;
@@ -11,6 +13,7 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -33,6 +36,10 @@
    @Autowired
    private CommonTaskService commonTaskService;
    @Autowired
    private RedisMqReceiver redisMqReceiver;
    @Value("${localIP}")
    private String localIP;
    /**
     * 查询题目列表(义乌的his数据获取情况)
@@ -53,4 +60,14 @@
        return toAjax(commonTaskService.taskSend(sendTaskVO));
    }
    /**
     * 任务的发送执行、暂停、终止
     */
    @ApiOperation("任务的发送执行、暂停、终止")
    @PostMapping("/tsakHandle")
    public AjaxResult tsakHandle(@RequestBody CommonTaskcallMQ commonTaskcallMQ) {
        redisMqReceiver.tsakHandle(commonTaskcallMQ, localIP, 1);
        return toAjax(1);
    }
}
smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java
@@ -260,7 +260,6 @@
        pmks.setDeptcheckFlag("0");
        pmks.setInhospstate("1");
        pmks.setFuflag("1");
        pmks.setPatid(16685L);
        List<PatMedInhosp> patMedInhosps = patMedInhospMapper.selectPatMedInhospList(pmks);
        //1.入院宣教