无意中将发送短信提醒公用的一方法修改

master
zengwh 5 years ago
parent 2469a4350b
commit 6adce46285

@ -8,6 +8,8 @@ import com.emr.vo.SubmitRecordStatistics;
import java.util.List;
public interface RecordMapper {
//查询分组科室各角色待审核数量用于通知
List<SubmitRecord> selectUnCountGroupDeptForRemind(RecordSearch recordSearch);
//查询分组科室各角色待审核数量
List<SubmitRecord> selectUnCountGroupDept(RecordSearch recordSearch);
//根据审核角色id和分组科室查询该科室完成份数

@ -48,8 +48,6 @@ public class Task1 {
@Autowired
private ArchiveRemindDeptUserMapper remindDeptUserMapper;
@Autowired
private StatisticsService statisticsService;
@Autowired
private CommomService commomService;
@Autowired
private ArchiveRemindDeptUserInfoMapper remindDeptUserInfoMapper;
@ -61,7 +59,7 @@ public class Task1 {
long start = System.currentTimeMillis();
RecordSearch recordSearch = sendMessageService.selectRecordSearch();
//查询超期记录
List<SubmitRecord> list = recordMapper.selectUnCountGroupDept(recordSearch);
List<SubmitRecord> list = recordMapper.selectUnCountGroupDeptForRemind(recordSearch);
log.info(list);
if(!CollectionUtils.isEmpty(list)){
//定义添加记录集合

@ -1153,10 +1153,7 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
"and freg_date is not null";
//执行查询
try{
long start = System.currentTimeMillis();
selectList = OracleConnect.selectList(sql);
long end = System.currentTimeMillis();
log.info("查询oracle的纸质病历签收集合使用时间:"+(end-start)/1000+"s");
}catch (Exception e){
e.printStackTrace();
ExceptionPrintUtil.printException(e);

@ -2,7 +2,7 @@
#POWER_IP = 192.168.1.3
#POWER_PORT = 8081
POWER_IP = 200.100.104.43
POWER_IP = 200.100.104.40
POWER_PORT = 8081
#power\u6743\u9650\u7CFB\u7EDF\u7684\u670D\u52A1\u5668\u5730\u5740\u5934

@ -168,9 +168,8 @@
<include refid="selectSql"></include>
</where>
</select>
<!--
&lt;!&ndash;-查询分组科室各角色待审核数量&ndash;&gt;
<select id="selectUnCountGroupDept" resultMap="BaseResultMap" parameterType="com.emr.vo.RecordSearch">
<!---查询分组科室各角色待审核数量-->
<select id="selectUnCountGroupDeptForRemind" resultMap="BaseResultMap" parameterType="com.emr.vo.RecordSearch">
select
archive_master.dept_name,
archive_master.deptNameCn,
@ -238,7 +237,6 @@
ORDER BY
archive_master.CODE
</select>
-->
<!--过滤超期条件语句-->
<sql id="overTimeWhereSql">
and datediff(

Loading…
Cancel
Save