|
@@ -22,6 +22,10 @@ import org.jeecg.modules.medical.ruleengine.SPELUtil;
|
|
|
import org.jeecg.modules.medical.service.IAfterIncidentDetailLogService;
|
|
|
import org.jeecg.modules.medical.service.IAfterwardsAuditDetailService;
|
|
|
import org.jeecg.modules.medical.service.IAfterwardsAuditService;
|
|
|
+import org.jeecg.modules.system.entity.SysDepart;
|
|
|
+import org.jeecg.modules.system.entity.SysUserDepart;
|
|
|
+import org.jeecg.modules.system.mapper.SysUserDepartMapper;
|
|
|
+import org.jeecg.modules.system.service.ISysDepartService;
|
|
|
import org.jeecg.modules.medical.service.IAfterwardsIncidentAuditDiagnoseService;
|
|
|
import org.jeecg.modules.medical.service.IMedicalInsRuleInfoService;
|
|
|
import org.jeecg.modules.medical.service.IMedicalInsRuleProjectDiagnoseService;
|
|
@@ -90,6 +94,12 @@ public class AfterwardsAuditDataTest {
|
|
|
private IAfterwardsAuditService afterwardsAuditService;
|
|
|
@Autowired
|
|
|
private IAfterwardsAuditDetailService afterwardsAuditDetailService;
|
|
|
+ @Autowired
|
|
|
+ private ISysDepartService sysDepartService;
|
|
|
+ @Autowired
|
|
|
+ private SysUserDepartMapper sysUserDepartMapper;
|
|
|
+
|
|
|
+
|
|
|
@Autowired
|
|
|
private IAfterwardsIncidentAuditDiagnoseService afterwardsIncidentAuditDiagnoseService;
|
|
|
@Autowired
|
|
@@ -97,8 +107,6 @@ public class AfterwardsAuditDataTest {
|
|
|
@Autowired
|
|
|
ISysUserService sysUserService;
|
|
|
@Autowired
|
|
|
- ISysDepartService sysDepartService;
|
|
|
- @Autowired
|
|
|
ISttlMasterBillService sttlMasterBillService;
|
|
|
@Autowired
|
|
|
ISttlMasterDetailBillService sttlMasterDetailBillService;
|
|
@@ -508,4 +516,21 @@ public class AfterwardsAuditDataTest {
|
|
|
System.out.println(i + v);
|
|
|
return i + v;
|
|
|
}
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void depart() {
|
|
|
+String a="1711012523714580481\n" +
|
|
|
+ "1711012523949461506\n" +
|
|
|
+ "1711012524184342529";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ String[] lines = a.split("\n");
|
|
|
+ for (String id:lines) {
|
|
|
+ SysUserDepart userDepart = new SysUserDepart(id, "1711037900931567617");
|
|
|
+ sysUserDepartMapper.insert(userDepart);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
}
|