护理单元同步
This commit is contained in:
parent
707bbf25ed
commit
30aaa37e29
|
@ -11,6 +11,7 @@ import com.nu.modules.async.entity.AsyncMain;
|
||||||
import com.nu.modules.async.entity.AsyncStatus;
|
import com.nu.modules.async.entity.AsyncStatus;
|
||||||
import com.nu.modules.async.service.IAsyncMainService;
|
import com.nu.modules.async.service.IAsyncMainService;
|
||||||
import com.nu.modules.async.service.IAsyncStatusService;
|
import com.nu.modules.async.service.IAsyncStatusService;
|
||||||
|
import com.nu.modules.nuBaseInfo.entity.NuBaseBatchAddDto;
|
||||||
import com.nu.modules.nuBaseInfo.entity.NuBaseInfo;
|
import com.nu.modules.nuBaseInfo.entity.NuBaseInfo;
|
||||||
import com.nu.modules.nuBaseInfo.service.INuBaseInfoService;
|
import com.nu.modules.nuBaseInfo.service.INuBaseInfoService;
|
||||||
import com.nu.utils.RabbitMQUtil;
|
import com.nu.utils.RabbitMQUtil;
|
||||||
|
@ -29,7 +30,9 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -100,26 +103,42 @@ public class NuBaseInfoController extends JeecgController<NuBaseInfo, INuBaseInf
|
||||||
if(StringUtils.isNotBlank(nuBaseInfo.getOrgCode())){
|
if(StringUtils.isNotBlank(nuBaseInfo.getOrgCode())){
|
||||||
queryWrapper.eq("sys_org_code",nuBaseInfo.getOrgCode());
|
queryWrapper.eq("sys_org_code",nuBaseInfo.getOrgCode());
|
||||||
}
|
}
|
||||||
|
queryWrapper.orderByDesc("nu_id + 0");
|
||||||
Page<NuBaseInfo> page = new Page<NuBaseInfo>(pageNo, pageSize);
|
Page<NuBaseInfo> page = new Page<NuBaseInfo>(pageNo, pageSize);
|
||||||
IPage<NuBaseInfo> pageList = nuBaseInfoService.page(page, queryWrapper);
|
IPage<NuBaseInfo> pageList = nuBaseInfoService.page(page, queryWrapper);
|
||||||
return pageList;
|
return pageList;
|
||||||
}
|
}
|
||||||
|
|
||||||
// /**
|
/**
|
||||||
// * 添加
|
* 添加
|
||||||
// *
|
*
|
||||||
// * @param nuBaseInfo
|
* @param nuBaseInfo
|
||||||
// * @return
|
* @return
|
||||||
// */
|
*/
|
||||||
// @AutoLog(value = "护理单元-添加")
|
@AutoLog(value = "护理单元-添加")
|
||||||
// @ApiOperation(value = "护理单元-添加", notes = "护理单元-添加")
|
@ApiOperation(value = "护理单元-添加", notes = "护理单元-添加")
|
||||||
// @RequiresPermissions("nuBaseInfo:nu_base_info:add")
|
@PostMapping(value = "/add")
|
||||||
// @PostMapping(value = "/add")
|
public Result<String> add(@RequestBody NuBaseInfo nuBaseInfo) {
|
||||||
// public Result<String> add(@RequestBody NuBaseInfo nuBaseInfo) {
|
service.setNuId(nuBaseInfo);
|
||||||
// service.setNuId(nuBaseInfo);
|
nuBaseInfo.setNuName(nuBaseInfo.getNuId());
|
||||||
// nuBaseInfoService.save(nuBaseInfo);
|
nuBaseInfo.setSysOrgCode(nuBaseInfo.getOrgCode());
|
||||||
// return Result.OK("添加成功!");
|
nuBaseInfoService.save(nuBaseInfo);
|
||||||
// }
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑
|
||||||
|
*
|
||||||
|
* @param nuBaseInfo
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "护理单元-编辑")
|
||||||
|
@ApiOperation(value = "护理单元-编辑", notes = "护理单元-编辑")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody NuBaseInfo nuBaseInfo) {
|
||||||
|
nuBaseInfoService.updateById(nuBaseInfo);
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 添加
|
* 添加
|
||||||
|
@ -129,16 +148,14 @@ public class NuBaseInfoController extends JeecgController<NuBaseInfo, INuBaseInf
|
||||||
*/
|
*/
|
||||||
@AutoLog(value = "护理单元-同步")
|
@AutoLog(value = "护理单元-同步")
|
||||||
@ApiOperation(value = "护理单元-同步", notes = "护理单元-同步")
|
@ApiOperation(value = "护理单元-同步", notes = "护理单元-同步")
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/sync")
|
||||||
public Result<String> add(@RequestBody NuBaseInfo nuBaseInfo) {
|
public Result<String> sync(@RequestBody NuBaseInfoMQDto bi) {
|
||||||
NuBaseInfoMQDto bi = new NuBaseInfoMQDto();
|
String queue = bi.getOrgCode() + ".hldy.async";
|
||||||
BeanUtils.copyProperties(nuBaseInfo,bi);
|
|
||||||
String queue = nuBaseInfo.getOrgCode() + ".hldy.async";
|
|
||||||
if (StringUtils.isNotBlank(queue)) {
|
if (StringUtils.isNotBlank(queue)) {
|
||||||
//先在数据同步表中插入数据
|
//先在数据同步表中插入数据
|
||||||
AsyncMain asyncMain = new AsyncMain();
|
AsyncMain asyncMain = new AsyncMain();
|
||||||
asyncMain.setType("nuBaseInfo");
|
asyncMain.setType("nuBaseInfo");
|
||||||
asyncMain.setOrgCode(nuBaseInfo.getOrgCode());
|
asyncMain.setOrgCode(bi.getOrgCode());
|
||||||
asyncMain.setDescr("护理单元同步");
|
asyncMain.setDescr("护理单元同步");
|
||||||
asyncMainService.save(asyncMain);
|
asyncMainService.save(asyncMain);
|
||||||
bi.setAsyncId(asyncMain.getId());
|
bi.setAsyncId(asyncMain.getId());
|
||||||
|
@ -159,4 +176,43 @@ public class NuBaseInfoController extends JeecgController<NuBaseInfo, INuBaseInf
|
||||||
}
|
}
|
||||||
return Result.ok("");
|
return Result.ok("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id删除
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "护理单元-通过id删除")
|
||||||
|
@ApiOperation(value = "护理单元-通过id删除", notes = "护理单元-通过id删除")
|
||||||
|
@DeleteMapping(value = "/delete")
|
||||||
|
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
nuBaseInfoService.del(id);
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除
|
||||||
|
*
|
||||||
|
* @param ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "护理单元-批量删除")
|
||||||
|
@ApiOperation(value = "护理单元-批量删除", notes = "护理单元-批量删除")
|
||||||
|
@DeleteMapping(value = "/deleteBatch")
|
||||||
|
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
nuBaseInfoService.batchDel(Arrays.asList(ids.split(",")));
|
||||||
|
return Result.OK("批量删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量新增
|
||||||
|
* @param batchAddDto
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@PostMapping("/batchAdd")
|
||||||
|
public Result<String> batchAdd(@RequestBody NuBaseInfo nuBaseInfo){
|
||||||
|
nuBaseInfoService.batchAdd(nuBaseInfo);
|
||||||
|
return Result.ok("新增成功!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
package com.nu.modules.nuBaseInfo.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: 护理单元批量新增
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2025年6月24日10:26:58
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class NuBaseBatchAddDto implements Serializable {
|
||||||
|
|
||||||
|
private String type;//区域类型
|
||||||
|
private Integer num;//数量
|
||||||
|
}
|
|
@ -12,6 +12,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 护理单元
|
* @Description: 护理单元
|
||||||
|
@ -77,7 +78,12 @@ public class NuBaseInfo implements Serializable {
|
||||||
/**所属部门*/
|
/**所属部门*/
|
||||||
@ApiModelProperty(value = "所属部门")
|
@ApiModelProperty(value = "所属部门")
|
||||||
private java.lang.String sysOrgCode;
|
private java.lang.String sysOrgCode;
|
||||||
|
/**是否已同步0已同步 1未同步*/
|
||||||
|
@ApiModelProperty(value = "是否已同步0已同步 1未同步")
|
||||||
|
private java.lang.String izSync;
|
||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String orgCode;
|
private String orgCode;
|
||||||
|
@TableField(exist = false)
|
||||||
|
private List<NuBaseBatchAddDto> batchAddList;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,10 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
*/
|
*/
|
||||||
public interface NuBaseInfoMapper extends BaseMapper<NuBaseInfo> {
|
public interface NuBaseInfoMapper extends BaseMapper<NuBaseInfo> {
|
||||||
|
|
||||||
String getNuId();
|
String getNuId(@Param("orgCode") String orgCode);
|
||||||
|
|
||||||
|
int del(@Param("id") String id);
|
||||||
|
|
||||||
|
int batchDel(@Param("ids") List<String> ids);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,19 @@
|
||||||
<select id="getNuId" resultType="java.lang.String">
|
<select id="getNuId" resultType="java.lang.String">
|
||||||
SELECT MAX(nu_id) AS max_number
|
SELECT MAX(nu_id) AS max_number
|
||||||
FROM nu_base_info
|
FROM nu_base_info
|
||||||
WHERE RIGHT(nu_id, 3) REGEXP '^[0-9]{3}$'
|
WHERE RIGHT(nu_id, 3) REGEXP '^[0-9]{3}$' and sys_org_code = ${orgCode}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<delete id="del">
|
||||||
|
DELETE FROM nu_base_info
|
||||||
|
WHERE id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="batchDel">
|
||||||
|
DELETE FROM nu_base_info
|
||||||
|
WHERE id IN
|
||||||
|
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -2,6 +2,9 @@ package com.nu.modules.nuBaseInfo.service;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.nu.modules.nuBaseInfo.entity.NuBaseInfo;
|
import com.nu.modules.nuBaseInfo.entity.NuBaseInfo;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 护理单元
|
* @Description: 护理单元
|
||||||
|
@ -12,4 +15,12 @@ import com.nu.modules.nuBaseInfo.entity.NuBaseInfo;
|
||||||
public interface INuBaseInfoService extends IService<NuBaseInfo> {
|
public interface INuBaseInfoService extends IService<NuBaseInfo> {
|
||||||
|
|
||||||
void setNuId(NuBaseInfo nuBaseInfo);
|
void setNuId(NuBaseInfo nuBaseInfo);
|
||||||
|
|
||||||
|
int del(@Param("id") String id);
|
||||||
|
|
||||||
|
int batchDel(@Param("ids") List<String> ids);
|
||||||
|
|
||||||
|
int batchAdd(NuBaseInfo nuBaseInfo);
|
||||||
|
|
||||||
|
void upIzSyncByIds(String ids);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
package com.nu.modules.nuBaseInfo.service.impl;
|
package com.nu.modules.nuBaseInfo.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.nu.modules.nuBaseInfo.entity.NuBaseBatchAddDto;
|
||||||
import com.nu.modules.nuBaseInfo.entity.NuBaseInfo;
|
import com.nu.modules.nuBaseInfo.entity.NuBaseInfo;
|
||||||
import com.nu.modules.nuBaseInfo.mapper.NuBaseInfoMapper;
|
import com.nu.modules.nuBaseInfo.mapper.NuBaseInfoMapper;
|
||||||
import com.nu.modules.nuBaseInfo.service.INuBaseInfoService;
|
import com.nu.modules.nuBaseInfo.service.INuBaseInfoService;
|
||||||
|
@ -11,6 +13,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: 护理单元
|
* @Description: 护理单元
|
||||||
|
@ -28,7 +31,7 @@ public class NuBaseInfoServiceImpl extends ServiceImpl<NuBaseInfoMapper, NuBaseI
|
||||||
throw new RuntimeException("请先在部门管理中设置机构编码!");
|
throw new RuntimeException("请先在部门管理中设置机构编码!");
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
String nuId = baseMapper.getNuId();
|
String nuId = baseMapper.getNuId(orgCode);
|
||||||
if (nuId == null) {
|
if (nuId == null) {
|
||||||
// 年月 + 机构编码 + 001
|
// 年月 + 机构编码 + 001
|
||||||
nuBaseInfo.setNuId(LocalDate.now().format(DateTimeFormatter.ofPattern("yyMM")) + orgCode + "001");
|
nuBaseInfo.setNuId(LocalDate.now().format(DateTimeFormatter.ofPattern("yyMM")) + orgCode + "001");
|
||||||
|
@ -47,4 +50,51 @@ public class NuBaseInfoServiceImpl extends ServiceImpl<NuBaseInfoMapper, NuBaseI
|
||||||
throw new RuntimeException("护理单元添加失败,请联系管理员进行处理!");
|
throw new RuntimeException("护理单元添加失败,请联系管理员进行处理!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int del(String id) {
|
||||||
|
return baseMapper.del(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int batchDel(List<String> ids) {
|
||||||
|
return baseMapper.batchDel(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int batchAdd(NuBaseInfo nuBaseInfo) {
|
||||||
|
List<NuBaseBatchAddDto> list = nuBaseInfo.getBatchAddList();
|
||||||
|
boolean needAdd = false;
|
||||||
|
for (int i = 0; i < list.size(); i++) {
|
||||||
|
if(list.get(i).getNum() != null && list.get(i).getNum()!=0){
|
||||||
|
needAdd = true;
|
||||||
|
String areaFlag = list.get(i).getType();//区域标签
|
||||||
|
Integer num = list.get(i).getNum();//需创建个数
|
||||||
|
for (int j = 0; j < num; j++) {
|
||||||
|
NuBaseInfo bf = new NuBaseInfo();
|
||||||
|
bf.setOrgCode(nuBaseInfo.getOrgCode());
|
||||||
|
setNuId(bf);
|
||||||
|
bf.setNuName(bf.getNuId());
|
||||||
|
bf.setSysOrgCode(nuBaseInfo.getOrgCode());
|
||||||
|
bf.setStatus("0");
|
||||||
|
bf.setAreaFlag(areaFlag);
|
||||||
|
baseMapper.insert(bf);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(!needAdd){
|
||||||
|
throw new RuntimeException("请正确填写数值!");
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void upIzSyncByIds(String ids) {
|
||||||
|
QueryWrapper<NuBaseInfo> qw = new QueryWrapper<>();
|
||||||
|
qw.in("id",ids.split(","));
|
||||||
|
NuBaseInfo nuBaseInfo = new NuBaseInfo();
|
||||||
|
nuBaseInfo.setIzSync("0");
|
||||||
|
baseMapper.update(nuBaseInfo,qw);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
package com.nu.mq.nubaseinfo.listener;
|
package com.nu.mq.nubaseinfo.listener;
|
||||||
|
|
||||||
|
import cn.hutool.core.collection.CollectionUtil;
|
||||||
|
import cn.hutool.core.util.ArrayUtil;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.nu.dto.StatusMQDto;
|
import com.nu.dto.StatusMQDto;
|
||||||
import com.nu.enums.MQStatus;
|
import com.nu.enums.MQStatus;
|
||||||
import com.nu.modules.async.entity.AsyncStatus;
|
import com.nu.modules.async.entity.AsyncStatus;
|
||||||
import com.nu.modules.async.service.IAsyncStatusService;
|
import com.nu.modules.async.service.IAsyncStatusService;
|
||||||
|
import com.nu.modules.nuBaseInfo.service.INuBaseInfoService;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.springframework.amqp.core.ExchangeTypes;
|
import org.springframework.amqp.core.ExchangeTypes;
|
||||||
import org.springframework.amqp.rabbit.annotation.Exchange;
|
import org.springframework.amqp.rabbit.annotation.Exchange;
|
||||||
import org.springframework.amqp.rabbit.annotation.Queue;
|
import org.springframework.amqp.rabbit.annotation.Queue;
|
||||||
|
@ -20,6 +24,8 @@ public class NuBaseInfoMQListener {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private IAsyncStatusService asyncStatusService;
|
private IAsyncStatusService asyncStatusService;
|
||||||
|
@Autowired
|
||||||
|
private INuBaseInfoService baseInfoService;
|
||||||
|
|
||||||
@RabbitListener(
|
@RabbitListener(
|
||||||
bindings = @QueueBinding(
|
bindings = @QueueBinding(
|
||||||
|
@ -35,6 +41,11 @@ public class NuBaseInfoMQListener {
|
||||||
AsyncStatus asyncStatus = asyncStatusService.getOne(qw);
|
AsyncStatus asyncStatus = asyncStatusService.getOne(qw);
|
||||||
if (dto.getStatus() == MQStatus.SUCCESS.getCode()) {
|
if (dto.getStatus() == MQStatus.SUCCESS.getCode()) {
|
||||||
asyncStatus.setStatus(dto.getStatus() + "");
|
asyncStatus.setStatus(dto.getStatus() + "");
|
||||||
|
//将对应id的iz_sync改为已同步
|
||||||
|
{
|
||||||
|
String ids = dto.getNote();
|
||||||
|
baseInfoService.upIzSyncByIds(ids);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
asyncStatus.setStatus("500");
|
asyncStatus.setStatus("500");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,6 @@
|
||||||
package com.nu.dto;
|
package com.nu.dto;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
import org.jeecg.common.aspect.annotation.Dict;
|
|
||||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@ -23,30 +14,6 @@ import java.io.Serializable;
|
||||||
public class NuBaseInfoMQDto implements Serializable {
|
public class NuBaseInfoMQDto implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**ID*/
|
|
||||||
private String id;
|
|
||||||
/**护理单元名称*/
|
|
||||||
private String nuName;
|
|
||||||
/**护理单元编码*/
|
|
||||||
private String nuId;
|
|
||||||
/**区域标签ID*/
|
|
||||||
private String areaFlag;
|
|
||||||
/**使用状态 0未使用 1占用 2入住 3退住 4留床*/
|
|
||||||
private String status;
|
|
||||||
/**客户*/
|
|
||||||
private String customerId;
|
|
||||||
/**是否删除 0未删除 1删除*/
|
|
||||||
private String delFlag;
|
|
||||||
/**创建人*/
|
|
||||||
private String createBy;
|
|
||||||
/**创建日期*/
|
|
||||||
private java.util.Date createTime;
|
|
||||||
/**更新人*/
|
|
||||||
private String updateBy;
|
|
||||||
/**更新日期*/
|
|
||||||
private java.util.Date updateTime;
|
|
||||||
/**所属部门*/
|
|
||||||
private String sysOrgCode;
|
|
||||||
private String orgCode;
|
private String orgCode;
|
||||||
private String asyncId;
|
private String asyncId;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,4 +17,6 @@ public class StatusMQDto {
|
||||||
private String primaryKey;
|
private String primaryKey;
|
||||||
private String orgCode;
|
private String orgCode;
|
||||||
private String orgName;
|
private String orgName;
|
||||||
|
//备注字段,可存储个性化内容用于数据交互处理
|
||||||
|
private String note;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue