From 7985fac35fb603eabc6f053355478092ecb2c73b Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Mon, 31 Mar 2025 16:49:41 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NuBizNuCustomerServerController.java | 134 ++++++++++++++++++ .../entity/NuBizNuCustomerServer.java | 120 ++++++++++++++++ .../mapper/NuBizNuCustomerServerMapper.java | 18 +++ .../xml/NuBizNuCustomerServerMapper.xml | 8 ++ .../INuBizNuCustomerServerService.java | 18 +++ .../NuBizNuCustomerServerServiceImpl.java | 95 +++++++++++++ 6 files changed, 393 insertions(+) create mode 100644 nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java create mode 100644 nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java create mode 100644 nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/NuBizNuCustomerServerMapper.java create mode 100644 nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/xml/NuBizNuCustomerServerMapper.xml create mode 100644 nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java create mode 100644 nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java new file mode 100644 index 0000000..10d959e --- /dev/null +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java @@ -0,0 +1,134 @@ +package com.nu.modules.NuBizNuCustomerServer.controller; + +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLDecoder; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import org.jeecg.common.api.vo.Result; +import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.system.query.QueryRuleEnum; +import org.jeecg.common.util.oConvertUtils; +import com.nu.modules.NuBizNuCustomerServer.entity.NuBizNuCustomerServer; +import com.nu.modules.NuBizNuCustomerServer.service.INuBizNuCustomerServerService; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import lombok.extern.slf4j.Slf4j; + +import org.jeecgframework.poi.excel.ExcelImportUtil; +import org.jeecgframework.poi.excel.def.NormalExcelConstants; +import org.jeecgframework.poi.excel.entity.ExportParams; +import org.jeecgframework.poi.excel.entity.ImportParams; +import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; +import org.jeecg.common.system.base.controller.JeecgController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; +import org.springframework.web.multipart.MultipartHttpServletRequest; +import org.springframework.web.servlet.ModelAndView; +import com.alibaba.fastjson.JSON; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.jeecg.common.aspect.annotation.AutoLog; +import org.apache.shiro.authz.annotation.RequiresPermissions; + + /** + * @Description: 护理单元客户配置服务指令 + * @Author: jeecg-boot + * @Date: 2025-03-31 + * @Version: V1.0 + */ +@Api(tags="护理单元客户配置服务指令") +@RestController +@RequestMapping("/nuIpadApi/nuBizNuCustomerServer") +@Slf4j +public class NuBizNuCustomerServerController extends JeecgController { + @Autowired + private INuBizNuCustomerServerService nuBizNuCustomerServerService; + + /** + * 分页列表查询 + * + * @param nuBizNuCustomerServer + * @return + */ + //@AutoLog(value = "护理单元客户配置服务指令-分页列表查询") + @ApiOperation(value="护理单元客户配置服务指令-分页列表查询", notes="护理单元客户配置服务指令-分页列表查询") + @GetMapping(value = "/getNclist") + public Result>> getNclist(NuBizNuCustomerServer nuBizNuCustomerServer) { + List> pageList = nuBizNuCustomerServerService.getNclist(nuBizNuCustomerServer); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param nuBizNuCustomerServer + * @return + */ + @AutoLog(value = "护理单元客户配置服务指令-添加") + @ApiOperation(value="护理单元客户配置服务指令-添加", notes="护理单元客户配置服务指令-添加") +// @RequiresPermissions("NuBizNuCustomerServer:nu_biz_nu_customer_server:add") + @PostMapping(value = "/addNuCustomerServer") + public Result addNuCustomerServer(@RequestBody NuBizNuCustomerServer nuBizNuCustomerServer) { + nuBizNuCustomerServerService.save(nuBizNuCustomerServer); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param nuBizNuCustomerServer + * @return + */ + @AutoLog(value = "护理单元客户配置服务指令-编辑") + @ApiOperation(value="护理单元客户配置服务指令-编辑", notes="护理单元客户配置服务指令-编辑") +// @RequiresPermissions("NuBizNuCustomerServer:nu_biz_nu_customer_server:edit") + @RequestMapping(value = "/editNuCustomerServer", method = {RequestMethod.PUT,RequestMethod.POST}) + public Result editNuCustomerServer(@RequestBody NuBizNuCustomerServer nuBizNuCustomerServer) { + nuBizNuCustomerServerService.updateById(nuBizNuCustomerServer); + return Result.OK("编辑成功!"); + } + + /** + * 通过id删除 + * + * @param id + * @return + */ + @AutoLog(value = "护理单元客户配置服务指令-通过id删除") + @ApiOperation(value="护理单元客户配置服务指令-通过id删除", notes="护理单元客户配置服务指令-通过id删除") +// @RequiresPermissions("NuBizNuCustomerServer:nu_biz_nu_customer_server:delete") + @DeleteMapping(value = "/deleteNuCustomerServer") + public Result delete(@RequestParam(name="id",required=true) String id) { + nuBizNuCustomerServerService.removeById(id); + return Result.OK("删除成功!"); + } + + + /** + * 通过id查询 + * + * @param id + * @return + */ + //@AutoLog(value = "护理单元客户配置服务指令-通过id查询") + @ApiOperation(value="护理单元客户配置服务指令-通过id查询", notes="护理单元客户配置服务指令-通过id查询") + @GetMapping(value = "/queryById") + public Result queryById(@RequestParam(name="id",required=true) String id) { + NuBizNuCustomerServer nuBizNuCustomerServer = nuBizNuCustomerServerService.getById(id); + if(nuBizNuCustomerServer==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(nuBizNuCustomerServer); + } + + +} diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java new file mode 100644 index 0000000..c651ddb --- /dev/null +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java @@ -0,0 +1,120 @@ +package com.nu.modules.NuBizNuCustomerServer.entity; + +import java.io.Serializable; +import java.io.UnsupportedEncodingException; +import java.util.Date; +import java.math.BigDecimal; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.TableLogic; +import org.jeecg.common.constant.ProvinceCityArea; +import org.jeecg.common.util.SpringContextUtils; +import lombok.Data; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.springframework.format.annotation.DateTimeFormat; +import org.jeecgframework.poi.excel.annotation.Excel; +import org.jeecg.common.aspect.annotation.Dict; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * @Description: 护理单元客户配置服务指令 + * @Author: jeecg-boot + * @Date: 2025-03-31 + * @Version: V1.0 + */ +@Data +@TableName("nu_biz_nu_customer_server") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="nu_biz_nu_customer_server对象", description="护理单元客户配置服务指令") +public class NuBizNuCustomerServer implements Serializable { + private static final long serialVersionUID = 1L; + + /**id*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "id") + private java.lang.String id; + /**护理单元id*/ + @Excel(name = "护理单元id", width = 15) + @ApiModelProperty(value = "护理单元id") + private java.lang.String nuId; + /**客户id*/ + @Excel(name = "客户id", width = 15) + @ApiModelProperty(value = "客户id") + private java.lang.String customerId; + /**服务类别id*/ + @Excel(name = "服务类别id", width = 15) + @ApiModelProperty(value = "服务类别id") + private java.lang.String categoryId; + /**服务类型id*/ + @Excel(name = "服务类型id", width = 15) + @ApiModelProperty(value = "服务类型id") + private java.lang.String typeId; + /**服务指令id*/ + @Excel(name = "服务指令id", width = 15) + @ApiModelProperty(value = "服务指令id") + private java.lang.String directiveId; + /**护理单元名称*/ + @Excel(name = "护理单元名称", width = 15) + @ApiModelProperty(value = "护理单元名称") + private java.lang.String nuName; + /**客户姓名*/ + @Excel(name = "客户姓名", width = 15) + @ApiModelProperty(value = "客户姓名") + private java.lang.String customerName; + /**服务类别名称*/ + @Excel(name = "服务类别名称", width = 15) + @ApiModelProperty(value = "服务类别名称") + private java.lang.String categoryName; + /**服务类型名称*/ + @Excel(name = "服务类型名称", width = 15) + @ApiModelProperty(value = "服务类型名称") + private java.lang.String typeName; + /**服务指令名称*/ + @Excel(name = "服务指令名称", width = 15) + @ApiModelProperty(value = "服务指令名称") + private java.lang.String directiveName; + /**定位*/ + @Excel(name = "定位", width = 15) + @ApiModelProperty(value = "定位") + private java.lang.String positioning; + /**服务标签名称*/ + @Excel(name = "服务标签名称", width = 15) + @ApiModelProperty(value = "服务标签名称") + private java.lang.String tagName; + /**周期类型*/ + @Excel(name = "周期类型", width = 15) + @ApiModelProperty(value = "周期类型") + private java.lang.String cycleType; + + + /**开始时间*/ + @ApiModelProperty(value = "开始时间") + private java.lang.String startTime; + /**结束时间*/ + @ApiModelProperty(value = "结束时间") + private java.lang.String endTime; + /**创建人*/ + @ApiModelProperty(value = "创建人") + private java.lang.String createBy; + /**创建日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "创建日期") + private java.util.Date createTime; + /**更新人*/ + @ApiModelProperty(value = "更新人") + private java.lang.String updateBy; + /**更新日期*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "更新日期") + private java.util.Date updateTime; + /**所属部门*/ + @ApiModelProperty(value = "所属部门") + private java.lang.String sysOrgCode; +} diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/NuBizNuCustomerServerMapper.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/NuBizNuCustomerServerMapper.java new file mode 100644 index 0000000..819cd25 --- /dev/null +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/NuBizNuCustomerServerMapper.java @@ -0,0 +1,18 @@ +package com.nu.modules.NuBizNuCustomerServer.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import com.nu.modules.NuBizNuCustomerServer.entity.NuBizNuCustomerServer; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 护理单元客户配置服务指令 + * @Author: jeecg-boot + * @Date: 2025-03-31 + * @Version: V1.0 + */ +public interface NuBizNuCustomerServerMapper extends BaseMapper { + + List getGroupPositioning(NuBizNuCustomerServer nuBizNuCustomerServer); +} diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/xml/NuBizNuCustomerServerMapper.xml b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/xml/NuBizNuCustomerServerMapper.xml new file mode 100644 index 0000000..db3c690 --- /dev/null +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/mapper/xml/NuBizNuCustomerServerMapper.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java new file mode 100644 index 0000000..e6f6ddb --- /dev/null +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java @@ -0,0 +1,18 @@ +package com.nu.modules.NuBizNuCustomerServer.service; + +import com.nu.modules.NuBizNuCustomerServer.entity.NuBizNuCustomerServer; +import com.baomidou.mybatisplus.extension.service.IService; + +import java.util.List; +import java.util.Map; + +/** + * @Description: 护理单元客户配置服务指令 + * @Author: jeecg-boot + * @Date: 2025-03-31 + * @Version: V1.0 + */ +public interface INuBizNuCustomerServerService extends IService { + + List> getNclist(NuBizNuCustomerServer nuBizNuCustomerServer); +} diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java new file mode 100644 index 0000000..2015a02 --- /dev/null +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java @@ -0,0 +1,95 @@ +package com.nu.modules.NuBizNuCustomerServer.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.StringUtils; +import com.nu.modules.NuBizNuCustomerServer.entity.NuBizNuCustomerServer; +import com.nu.modules.NuBizNuCustomerServer.mapper.NuBizNuCustomerServerMapper; +import com.nu.modules.NuBizNuCustomerServer.service.INuBizNuCustomerServerService; +import com.nu.modules.nuApiServiceCategory.entity.NuConfigServiceCategory; +import com.nu.modules.nuApiServiceCategory.entity.NuConfigServiceDirective; +import com.nu.modules.nuApiServiceCategory.entity.NuConfigServiceType; +import com.nu.modules.nuApiServiceCategory.service.INuConfigServiceCategoryService; +import com.nu.modules.nuApiServiceCategory.service.INuConfigServiceDirectiveService; +import com.nu.modules.nuApiServiceCategory.service.INuConfigServiceTypeService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +import java.util.*; + +/** + * @Description: 护理单元客户配置服务指令 + * @Author: jeecg-boot + * @Date: 2025-03-31 + * @Version: V1.0 + */ +@Service +public class NuBizNuCustomerServerServiceImpl extends ServiceImpl implements INuBizNuCustomerServerService { + + @Autowired + private INuConfigServiceCategoryService nuConfigServiceCategoryService; + @Autowired + private INuConfigServiceTypeService nuConfigServiceTypeService; + @Autowired + private INuConfigServiceDirectiveService nuConfigServiceDirectiveService; + + @Override + public List> getNclist(NuBizNuCustomerServer nuBizNuCustomerServer) { + + QueryWrapper nuBizNuCustomerServerQueryWrapper = new QueryWrapper<>(); + nuBizNuCustomerServerQueryWrapper.eq(StringUtils.isNotEmpty(nuBizNuCustomerServer.getNuId()),"nu_id",nuBizNuCustomerServer.getNuId()); + nuBizNuCustomerServerQueryWrapper.eq(StringUtils.isNotEmpty(nuBizNuCustomerServer.getCustomerId()),"customer_id",nuBizNuCustomerServer.getCustomerId()); + List groupList = baseMapper.selectList(nuBizNuCustomerServerQueryWrapper); + String groupPositioning[] = {"00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"}; + List> allList = new ArrayList<>(); + for(String groupPositioning1 : groupPositioning){ + Map posMap = new HashMap<>(); + posMap.put("positioning",groupPositioning1); + List> childrenList = new ArrayList<>(); + for(NuBizNuCustomerServer par : groupList){ + if(StringUtils.equals(groupPositioning1,par.getPositioning())){ + Map map = new HashMap<>(); + map.put("id",par.getId()); + map.put("directiveName",par.getDirectiveName()); + map.put("tagName",par.getTagName()); + map.put("startTime",par.getStartTime()); + map.put("endTime",par.getEndTime()); + map.put("cycleType",par.getCycleType()); + childrenList.add(map); + } + } + posMap.put("children",childrenList); + allList.add(posMap); + } + return allList; + } + + + @Override + public boolean save(NuBizNuCustomerServer nuBizNuCustomerServer) { + NuConfigServiceDirective nuConfigServiceDirective = nuConfigServiceDirectiveService.getById(nuBizNuCustomerServer.getDirectiveId()); + NuConfigServiceCategory nuConfigServiceCategory = nuConfigServiceCategoryService.getById(nuConfigServiceDirective.getCategoryId()); + NuConfigServiceType nuConfigServiceType = nuConfigServiceTypeService.getById(nuConfigServiceDirective.getTypeId()); + nuBizNuCustomerServer.setCategoryId(nuConfigServiceCategory.getId()); + nuBizNuCustomerServer.setCategoryName(nuConfigServiceCategory.getCategoryName()); + nuBizNuCustomerServer.setTypeId(nuConfigServiceType.getId()); + nuBizNuCustomerServer.setTypeName(nuConfigServiceType.getTypeName()); + baseMapper.insert(nuBizNuCustomerServer); + return true; + } + + + @Override + public boolean updateById(NuBizNuCustomerServer nuBizNuCustomerServer) { + NuConfigServiceDirective nuConfigServiceDirective = nuConfigServiceDirectiveService.getById(nuBizNuCustomerServer.getDirectiveId()); + NuConfigServiceCategory nuConfigServiceCategory = nuConfigServiceCategoryService.getById(nuConfigServiceDirective.getCategoryId()); + NuConfigServiceType nuConfigServiceType = nuConfigServiceTypeService.getById(nuConfigServiceDirective.getTypeId()); + nuBizNuCustomerServer.setCategoryId(nuConfigServiceCategory.getId()); + nuBizNuCustomerServer.setCategoryName(nuConfigServiceCategory.getCategoryName()); + nuBizNuCustomerServer.setTypeId(nuConfigServiceType.getId()); + nuBizNuCustomerServer.setTypeName(nuConfigServiceType.getTypeName()); + baseMapper.updateById(nuBizNuCustomerServer); + return true; + } +} From d2cf2cb7a22b252623f0bc22f77044e7a71fbe22 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Mon, 31 Mar 2025 17:32:26 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=A0=91=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/NuBizNuCustomerServerController.java | 12 ++++++------ .../entity/NuBizNuCustomerServer.java | 4 ++++ .../service/INuBizNuCustomerServerService.java | 4 ++++ .../impl/NuBizNuCustomerServerServiceImpl.java | 9 +++++---- .../mapper/xml/NuConfigServiceDirectiveMapper.xml | 4 +++- .../impl/NuConfigServiceCategoryServiceImpl.java | 1 + 6 files changed, 23 insertions(+), 11 deletions(-) diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java index 10d959e..75762b4 100644 --- a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/controller/NuBizNuCustomerServerController.java @@ -77,9 +77,9 @@ public class NuBizNuCustomerServerController extends JeecgController addNuCustomerServer(@RequestBody NuBizNuCustomerServer nuBizNuCustomerServer) { - nuBizNuCustomerServerService.save(nuBizNuCustomerServer); - return Result.OK("添加成功!"); + public Result addNuCustomerServer(@RequestBody NuBizNuCustomerServer nuBizNuCustomerServer) { + NuBizNuCustomerServer retText = nuBizNuCustomerServerService.addNuCustomerServer(nuBizNuCustomerServer); + return Result.OK(retText); } /** @@ -92,9 +92,9 @@ public class NuBizNuCustomerServerController extends JeecgController editNuCustomerServer(@RequestBody NuBizNuCustomerServer nuBizNuCustomerServer) { - nuBizNuCustomerServerService.updateById(nuBizNuCustomerServer); - return Result.OK("编辑成功!"); + public Result editNuCustomerServer(@RequestBody NuBizNuCustomerServer nuBizNuCustomerServer) { + NuBizNuCustomerServer retJson = nuBizNuCustomerServerService.editNuCustomerServer(nuBizNuCustomerServer); + return Result.OK(retJson); } /** diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java index c651ddb..4b2fe18 100644 --- a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/entity/NuBizNuCustomerServer.java @@ -90,6 +90,10 @@ public class NuBizNuCustomerServer implements Serializable { @Excel(name = "周期类型", width = 15) @ApiModelProperty(value = "周期类型") private java.lang.String cycleType; + /**纵向定位*/ + @Excel(name = "纵向定位", width = 15) + @ApiModelProperty(value = "纵向定位") + private java.lang.String positioningLong; /**开始时间*/ diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java index e6f6ddb..3534c3b 100644 --- a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/INuBizNuCustomerServerService.java @@ -15,4 +15,8 @@ import java.util.Map; public interface INuBizNuCustomerServerService extends IService { List> getNclist(NuBizNuCustomerServer nuBizNuCustomerServer); + + NuBizNuCustomerServer addNuCustomerServer(NuBizNuCustomerServer nuBizNuCustomerServer); + + NuBizNuCustomerServer editNuCustomerServer(NuBizNuCustomerServer nuBizNuCustomerServer); } diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java index 2015a02..3e4b543 100644 --- a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java @@ -56,6 +56,7 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl Date: Tue, 1 Apr 2025 08:52:39 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0tagname=E6=8B=BC=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/xml/NuConfigServiceDirectiveMapper.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nursing-unit-api/src/main/java/com/nu/modules/nuApiServiceCategory/mapper/xml/NuConfigServiceDirectiveMapper.xml b/nursing-unit-api/src/main/java/com/nu/modules/nuApiServiceCategory/mapper/xml/NuConfigServiceDirectiveMapper.xml index cf98e0d..cfe4cbe 100644 --- a/nursing-unit-api/src/main/java/com/nu/modules/nuApiServiceCategory/mapper/xml/NuConfigServiceDirectiveMapper.xml +++ b/nursing-unit-api/src/main/java/com/nu/modules/nuApiServiceCategory/mapper/xml/NuConfigServiceDirectiveMapper.xml @@ -27,11 +27,13 @@ csd.sys_org_code, csd.mp3_file, csd.mp4_file, - cdt.id AS tag_id, cdt.tag_name FROM nu_config_service_directive csd - LEFT JOIN nu_directive_tag dt ON csd.id = dt.directive_id - LEFT JOIN nu_config_directive_tag cdt ON dt.tag_id = cdt.id + LEFT JOIN ( + select GROUP_CONCAT(c.tag_name) tag_name,b.directive_id from nu_directive_tag b + LEFT JOIN nu_config_directive_tag c on b.tag_id = c.id + GROUP BY b.directive_id + ) cdt on csd.id = cdt.directive_id LEFT JOIN nu_config_service_type cst ON csd.type_id = cst.id LEFT JOIN (select * from sys_dict_item where dict_id = '1900374791386140674') dict on csd.cycle_type = dict.item_value ) a From 1a1d3510ee7c546d2b6b3b337a6c918812b65dcf Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Tue, 1 Apr 2025 09:22:28 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=91=98=E5=B7=A5?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=E5=8A=9F=E8=83=BD=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BizEmployeesInfoController.java | 180 +++++++++++++++++ .../entity/BizEmployeesInfo.java | 189 ++++++++++++++++++ .../mapper/BizEmployeesInfoMapper.java | 17 ++ .../mapper/xml/BizEmployeesInfoMapper.xml | 5 + .../service/IBizEmployeesInfoService.java | 14 ++ .../impl/BizEmployeesInfoServiceImpl.java | 19 ++ 6 files changed, 424 insertions(+) create mode 100644 nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/controller/BizEmployeesInfoController.java create mode 100644 nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/entity/BizEmployeesInfo.java create mode 100644 nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/BizEmployeesInfoMapper.java create mode 100644 nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/xml/BizEmployeesInfoMapper.xml create mode 100644 nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/IBizEmployeesInfoService.java create mode 100644 nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/impl/BizEmployeesInfoServiceImpl.java diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/controller/BizEmployeesInfoController.java b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/controller/BizEmployeesInfoController.java new file mode 100644 index 0000000..f2672f0 --- /dev/null +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/controller/BizEmployeesInfoController.java @@ -0,0 +1,180 @@ +package com.nu.modules.bizEmployeesInfo.controller; + +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLDecoder; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import org.jeecg.common.api.vo.Result; +import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.system.query.QueryRuleEnum; +import org.jeecg.common.util.oConvertUtils; +import com.nu.modules.bizEmployeesInfo.entity.BizEmployeesInfo; +import com.nu.modules.bizEmployeesInfo.service.IBizEmployeesInfoService; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import lombok.extern.slf4j.Slf4j; + +import org.jeecgframework.poi.excel.ExcelImportUtil; +import org.jeecgframework.poi.excel.def.NormalExcelConstants; +import org.jeecgframework.poi.excel.entity.ExportParams; +import org.jeecgframework.poi.excel.entity.ImportParams; +import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; +import org.jeecg.common.system.base.controller.JeecgController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; +import org.springframework.web.multipart.MultipartHttpServletRequest; +import org.springframework.web.servlet.ModelAndView; +import com.alibaba.fastjson.JSON; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.jeecg.common.aspect.annotation.AutoLog; +import org.apache.shiro.authz.annotation.RequiresPermissions; + + /** + * @Description: 员工信息 + * @Author: jeecg-boot + * @Date: 2025-04-01 + * @Version: V1.0 + */ +@Api(tags="员工信息") +@RestController +@RequestMapping("/bizEmployeesInfo/bizEmployeesInfo") +@Slf4j +public class BizEmployeesInfoController extends JeecgController { + @Autowired + private IBizEmployeesInfoService bizEmployeesInfoService; + + /** + * 分页列表查询 + * + * @param bizEmployeesInfo + * @param pageNo + * @param pageSize + * @param req + * @return + */ + //@AutoLog(value = "员工信息-分页列表查询") + @ApiOperation(value="员工信息-分页列表查询", notes="员工信息-分页列表查询") + @GetMapping(value = "/list") + public Result> queryPageList(BizEmployeesInfo bizEmployeesInfo, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(bizEmployeesInfo, req.getParameterMap()); + Page page = new Page(pageNo, pageSize); + IPage pageList = bizEmployeesInfoService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** + * 添加 + * + * @param bizEmployeesInfo + * @return + */ + @AutoLog(value = "员工信息-添加") + @ApiOperation(value="员工信息-添加", notes="员工信息-添加") + @RequiresPermissions("bizEmployeesInfo:biz_employees_info:add") + @PostMapping(value = "/add") + public Result add(@RequestBody BizEmployeesInfo bizEmployeesInfo) { + bizEmployeesInfoService.save(bizEmployeesInfo); + return Result.OK("添加成功!"); + } + + /** + * 编辑 + * + * @param bizEmployeesInfo + * @return + */ + @AutoLog(value = "员工信息-编辑") + @ApiOperation(value="员工信息-编辑", notes="员工信息-编辑") + @RequiresPermissions("bizEmployeesInfo:biz_employees_info:edit") + @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST}) + public Result edit(@RequestBody BizEmployeesInfo bizEmployeesInfo) { + bizEmployeesInfoService.updateById(bizEmployeesInfo); + return Result.OK("编辑成功!"); + } + + /** + * 通过id删除 + * + * @param id + * @return + */ + @AutoLog(value = "员工信息-通过id删除") + @ApiOperation(value="员工信息-通过id删除", notes="员工信息-通过id删除") + @RequiresPermissions("bizEmployeesInfo:biz_employees_info:delete") + @DeleteMapping(value = "/delete") + public Result delete(@RequestParam(name="id",required=true) String id) { + bizEmployeesInfoService.removeById(id); + return Result.OK("删除成功!"); + } + + /** + * 批量删除 + * + * @param ids + * @return + */ + @AutoLog(value = "员工信息-批量删除") + @ApiOperation(value="员工信息-批量删除", notes="员工信息-批量删除") + @RequiresPermissions("bizEmployeesInfo:biz_employees_info:deleteBatch") + @DeleteMapping(value = "/deleteBatch") + public Result deleteBatch(@RequestParam(name="ids",required=true) String ids) { + this.bizEmployeesInfoService.removeByIds(Arrays.asList(ids.split(","))); + return Result.OK("批量删除成功!"); + } + + /** + * 通过id查询 + * + * @param id + * @return + */ + //@AutoLog(value = "员工信息-通过id查询") + @ApiOperation(value="员工信息-通过id查询", notes="员工信息-通过id查询") + @GetMapping(value = "/queryById") + public Result queryById(@RequestParam(name="id",required=true) String id) { + BizEmployeesInfo bizEmployeesInfo = bizEmployeesInfoService.getById(id); + if(bizEmployeesInfo==null) { + return Result.error("未找到对应数据"); + } + return Result.OK(bizEmployeesInfo); + } + + /** + * 导出excel + * + * @param request + * @param bizEmployeesInfo + */ + @RequiresPermissions("bizEmployeesInfo:biz_employees_info:exportXls") + @RequestMapping(value = "/exportXls") + public ModelAndView exportXls(HttpServletRequest request, BizEmployeesInfo bizEmployeesInfo) { + return super.exportXls(request, bizEmployeesInfo, BizEmployeesInfo.class, "员工信息"); + } + + /** + * 通过excel导入数据 + * + * @param request + * @param response + * @return + */ + @RequiresPermissions("bizEmployeesInfo:biz_employees_info:importExcel") + @RequestMapping(value = "/importExcel", method = RequestMethod.POST) + public Result importExcel(HttpServletRequest request, HttpServletResponse response) { + return super.importExcel(request, response, BizEmployeesInfo.class); + } + +} diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/entity/BizEmployeesInfo.java b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/entity/BizEmployeesInfo.java new file mode 100644 index 0000000..bc94b6b --- /dev/null +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/entity/BizEmployeesInfo.java @@ -0,0 +1,189 @@ +package com.nu.modules.bizEmployeesInfo.entity; + +import java.io.Serializable; +import java.io.UnsupportedEncodingException; +import java.util.Date; +import java.math.BigDecimal; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.TableLogic; +import org.jeecg.common.constant.ProvinceCityArea; +import org.jeecg.common.util.SpringContextUtils; +import lombok.Data; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.springframework.format.annotation.DateTimeFormat; +import org.jeecgframework.poi.excel.annotation.Excel; +import org.jeecg.common.aspect.annotation.Dict; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * @Description: 员工信息 + * @Author: jeecg-boot + * @Date: 2025-04-01 + * @Version: V1.0 + */ +@Data +@TableName("nu_biz_employees_info") +@Accessors(chain = true) +@EqualsAndHashCode(callSuper = false) +@ApiModel(value="biz_employees_info对象", description="员工信息") +public class BizEmployeesInfo implements Serializable { + private static final long serialVersionUID = 1L; + + /**id*/ + @TableId(type = IdType.ASSIGN_ID) + @ApiModelProperty(value = "id") + private java.lang.String id; + /**姓名*/ + @Excel(name = "姓名", width = 15) + @ApiModelProperty(value = "姓名") + private java.lang.String name; + /**性别*/ + @Excel(name = "性别", width = 15, dicCode = "sex") + @Dict(dicCode = "sex") + @ApiModelProperty(value = "性别") + private java.lang.String sex; + /**民族*/ + @Excel(name = "民族", width = 15) + @ApiModelProperty(value = "民族") + private java.lang.String national; + /**身份证号*/ + @Excel(name = "身份证号", width = 15) + @ApiModelProperty(value = "身份证号") + private java.lang.String idCard; + /**联系电话*/ + @Excel(name = "联系电话", width = 15) + @ApiModelProperty(value = "联系电话") + private java.lang.String tel; + /**入职时间*/ + @Excel(name = "入职时间", width = 15, format = "yyyy-MM-dd") + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern="yyyy-MM-dd") + @ApiModelProperty(value = "入职时间") + private java.util.Date entryTime; + /**岗位级别*/ + @Excel(name = "岗位级别", width = 15, dicCode = "post_level") + @Dict(dicCode = "post_level") + @ApiModelProperty(value = "岗位级别") + private java.lang.String postLevel; + /**出生日期*/ + @Excel(name = "出生日期", width = 15, format = "yyyy-MM-dd") + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern="yyyy-MM-dd") + @ApiModelProperty(value = "出生日期") + private java.util.Date dateOfBirth; + /**婚否*/ + @Excel(name = "婚否", width = 15, dicCode = "married_or_not") + @Dict(dicCode = "married_or_not") + @ApiModelProperty(value = "婚否") + private java.lang.String marriedOrNot; + /**工资*/ + @Excel(name = "工资", width = 15, dicCode = "wages") + @Dict(dicCode = "wages") + @ApiModelProperty(value = "工资") + private java.lang.String wages; + /**身高*/ + @Excel(name = "身高", width = 15) + @ApiModelProperty(value = "身高") + private java.lang.Double height; + /**体重*/ + @Excel(name = "体重", width = 15) + @ApiModelProperty(value = "体重") + private java.lang.Double weight; + /**家庭住址*/ + @Excel(name = "家庭住址", width = 15) + @ApiModelProperty(value = "家庭住址") + private java.lang.String address; + /**是否吸烟*/ + @Excel(name = "是否吸烟", width = 15, dicCode = "is_smoking") + @Dict(dicCode = "is_smoking") + @ApiModelProperty(value = "是否吸烟") + private java.lang.String isSmoking; + /**健康状况*/ + @Excel(name = "健康状况", width = 15, dicCode = "health_status") + @Dict(dicCode = "health_status") + @ApiModelProperty(value = "健康状况") + private java.lang.String healthStatus; + /**户籍所在地*/ + @Excel(name = "户籍所在地", width = 15) + @ApiModelProperty(value = "户籍所在地") + private java.lang.String houseAddress; + /**政治面貌*/ + @Excel(name = "政治面貌", width = 15, dicCode = "political_appearance") + @Dict(dicCode = "political_appearance") + @ApiModelProperty(value = "政治面貌") + private java.lang.String politicalAppearance; + /**紧急联系人*/ + @Excel(name = "紧急联系人", width = 15) + @ApiModelProperty(value = "紧急联系人") + private java.lang.String emergencyContact; + /**紧急联系人电话*/ + @Excel(name = "紧急联系人电话", width = 15) + @ApiModelProperty(value = "紧急联系人电话") + private java.lang.String emergencyTel; + /**紧急联系人与本人关系*/ + @Excel(name = "紧急联系人与本人关系", width = 15) + @ApiModelProperty(value = "紧急联系人与本人关系") + private java.lang.String emergencyRelationship; + /**户口性质*/ + @Excel(name = "户口性质", width = 15, dicCode = "hukou_nature") + @Dict(dicCode = "hukou_nature") + @ApiModelProperty(value = "户口性质") + private java.lang.String hukouNature; + /**备注*/ + @Excel(name = "备注", width = 15) + @ApiModelProperty(value = "备注") + private java.lang.String content; + /**身份证正面*/ + @Excel(name = "身份证正面", width = 15) + @ApiModelProperty(value = "身份证正面") + private java.lang.String idCardPositive; + /**身份证反面*/ + @Excel(name = "身份证反面", width = 15) + @ApiModelProperty(value = "身份证反面") + private java.lang.String idCardNegative; + /**合同正面*/ + @Excel(name = "合同正面", width = 15) + @ApiModelProperty(value = "合同正面") + private java.lang.String contractPositive; + /**合同反面*/ + @Excel(name = "合同反面", width = 15) + @ApiModelProperty(value = "合同反面") + private java.lang.String contractNegative; + /**健康证正面*/ + @Excel(name = "健康证正面", width = 15) + @ApiModelProperty(value = "健康证正面") + private java.lang.String healthCertificatePositive; + /**健康证反面*/ + @Excel(name = "健康证反面", width = 15) + @ApiModelProperty(value = "健康证反面") + private java.lang.String healthCertificateNegative; + /**银行卡正面*/ + @Excel(name = "银行卡正面", width = 15) + @ApiModelProperty(value = "银行卡正面") + private java.lang.String bankPositive; + /**银行卡反面*/ + @Excel(name = "银行卡反面", width = 15) + @ApiModelProperty(value = "银行卡反面") + private java.lang.String bankNegative; + /**资质证*/ + @Excel(name = "资质证", width = 15) + @ApiModelProperty(value = "资质证") + private java.lang.String qualification; + /**无犯罪证明*/ + @Excel(name = "无犯罪证明", width = 15) + @ApiModelProperty(value = "无犯罪证明") + private java.lang.String noCrimeCertificate; + /**区域*/ + @Excel(name = "区域", width = 15) + @ApiModelProperty(value = "区域") + private java.lang.String regional; + /**服务标签*/ + @Excel(name = "服务标签", width = 15) + @ApiModelProperty(value = "服务标签") + private java.lang.String serviceTag; +} diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/BizEmployeesInfoMapper.java b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/BizEmployeesInfoMapper.java new file mode 100644 index 0000000..7effe94 --- /dev/null +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/BizEmployeesInfoMapper.java @@ -0,0 +1,17 @@ +package com.nu.modules.bizEmployeesInfo.mapper; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; +import com.nu.modules.bizEmployeesInfo.entity.BizEmployeesInfo; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * @Description: 员工信息 + * @Author: jeecg-boot + * @Date: 2025-04-01 + * @Version: V1.0 + */ +public interface BizEmployeesInfoMapper extends BaseMapper { + +} diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/xml/BizEmployeesInfoMapper.xml b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/xml/BizEmployeesInfoMapper.xml new file mode 100644 index 0000000..c184033 --- /dev/null +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/mapper/xml/BizEmployeesInfoMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/IBizEmployeesInfoService.java b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/IBizEmployeesInfoService.java new file mode 100644 index 0000000..6dc0a43 --- /dev/null +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/IBizEmployeesInfoService.java @@ -0,0 +1,14 @@ +package com.nu.modules.bizEmployeesInfo.service; + +import com.nu.modules.bizEmployeesInfo.entity.BizEmployeesInfo; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * @Description: 员工信息 + * @Author: jeecg-boot + * @Date: 2025-04-01 + * @Version: V1.0 + */ +public interface IBizEmployeesInfoService extends IService { + +} diff --git a/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/impl/BizEmployeesInfoServiceImpl.java b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/impl/BizEmployeesInfoServiceImpl.java new file mode 100644 index 0000000..0cb4d87 --- /dev/null +++ b/nursing-unit-admin/nu-admin-biz/src/main/java/com/nu/modules/bizEmployeesInfo/service/impl/BizEmployeesInfoServiceImpl.java @@ -0,0 +1,19 @@ +package com.nu.modules.bizEmployeesInfo.service.impl; + +import com.nu.modules.bizEmployeesInfo.entity.BizEmployeesInfo; +import com.nu.modules.bizEmployeesInfo.mapper.BizEmployeesInfoMapper; +import com.nu.modules.bizEmployeesInfo.service.IBizEmployeesInfoService; +import org.springframework.stereotype.Service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +/** + * @Description: 员工信息 + * @Author: jeecg-boot + * @Date: 2025-04-01 + * @Version: V1.0 + */ +@Service +public class BizEmployeesInfoServiceImpl extends ServiceImpl implements IBizEmployeesInfoService { + +}