Compare commits

...

2 Commits

Author SHA1 Message Date
曹磊 b8195fc3c7 服务指令包启用状态01改为YN 2025-11-14 16:29:16 +08:00
曹磊 5b6ba57f30 护理单元同步状态值01改为YN 2025-11-14 16:12:53 +08:00
3 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
description description
from nu_config_directive_package from nu_config_directive_package
where del_flag = '0' where del_flag = '0'
and iz_enabled = '0' and iz_enabled = 'Y'
</select> </select>
<select id="getNcDirectiveList" resultType="com.nu.modules.NuBizNuCustomerServer.entity.NuBizNuCustomerServer"> <select id="getNcDirectiveList" resultType="com.nu.modules.NuBizNuCustomerServer.entity.NuBizNuCustomerServer">

View File

@ -125,9 +125,9 @@ public class NuBaseInfo implements Serializable {
@ApiModelProperty(value = "是否报警") @ApiModelProperty(value = "是否报警")
private java.lang.String izWarning; private java.lang.String izWarning;
/** /**
* 是否已同步0已同步 1未同步 * 是否已同步Y已同步 N未同步
*/ */
@ApiModelProperty(value = "是否已同步0已同步 1未同步") @ApiModelProperty(value = "是否已同步Y已同步 N未同步")
private java.lang.String izSync; private java.lang.String izSync;
@ApiModelProperty(value = "负责人") @ApiModelProperty(value = "负责人")

View File

@ -88,7 +88,7 @@ public class NuBaseInfoServiceImpl extends ServiceImpl<NuBaseInfoMapper, NuBaseI
public List<NuBaseInfo> getSynchronized(String dataSourceCode, String orgCode) { public List<NuBaseInfo> getSynchronized(String dataSourceCode, String orgCode) {
QueryWrapper<NuBaseInfo> qw = new QueryWrapper<>(); QueryWrapper<NuBaseInfo> qw = new QueryWrapper<>();
qw.eq("sys_org_code", orgCode); qw.eq("sys_org_code", orgCode);
qw.eq("iz_sync", "1"); qw.eq("iz_sync", "N");
qw.eq("del_flag", "0"); qw.eq("del_flag", "0");
return baseMapper.selectList(qw); return baseMapper.selectList(qw);
} }
@ -117,7 +117,7 @@ public class NuBaseInfoServiceImpl extends ServiceImpl<NuBaseInfoMapper, NuBaseI
/** /**
* 同步数据 * 同步数据
* 逻辑从运维数据库中查出本机构下iz_sync = 1的数据存到自己的库里 存之前把这个状态改为0 * 逻辑从运维数据库中查出本机构下iz_sync = N的数据存到自己的库里 存之前把这个状态改为Y
*/ */
@Override @Override
public void sync() { public void sync() {