登记列表同步方法 医院编码改成机构ID

This commit is contained in:
lxd 2024-10-23 10:07:13 +08:00
parent 6d37ec24cc
commit 139ec42e87

View File

@ -396,7 +396,7 @@ public class ApplyformController {
AdminUserDO user = userService.getUser(getLoginUserId());
//1表示接口
if (type.equals("1")) { //土贵乌拉
if (user.getOrgId().equals("150926PDY564156")) {
Map<String, String> tokendata = new HashMap<>();
tokendata.put("appkey", "7653571505643966826");
tokendata.put("appsecret", "z8SVG1NBFY9d74LM");
@ -410,7 +410,7 @@ public class ApplyformController {
LocalDate currentDate = LocalDate.now();
Map<String, String> data = new HashMap<>();
data.put("Yiyuanid", "150926PDY564156");
data.put("Yiyuanid", user.getOrgId());
data.put("dateStart",currentDate.toString());
data.put("token", accessToken);
data.put("dateEnd", currentDate.toString());
@ -470,7 +470,7 @@ public class ApplyformController {
{
StrMsg = "暂无需要同步的数据";
}
}
} else if (type.equals("2")) //2 数据库
{
switch (apiconfigDO.getDatabaseType()) {