调整接口名称

This commit is contained in:
1378012178@qq.com 2025-07-03 14:12:44 +08:00
parent f11179e0e9
commit 9eff8d614a
9 changed files with 15 additions and 15 deletions

View File

@ -47,12 +47,12 @@ import org.apache.shiro.authz.annotation.RequiresPermissions;
*/
@Api(tags="员工信息")
@RestController
@RequestMapping("/bizEmployeesInfo/bizEmployeesInfo")
@RequestMapping("/admin/bizEmployeesInfo/bizEmployeesInfo")
@Slf4j
public class BizEmployeesInfoController extends JeecgController<BizEmployeesInfo, IBizEmployeesInfoService> {
@Autowired
private IBizEmployeesInfoService bizEmployeesInfoService;
/**
* 分页列表查询
*
@ -75,7 +75,7 @@ public class BizEmployeesInfoController extends JeecgController<BizEmployeesInfo
IPage<BizEmployeesInfo> pageList = bizEmployeesInfoService.page(page, queryWrapper);
return Result.OK(pageList);
}
/**
* 添加
*
@ -90,7 +90,7 @@ public class BizEmployeesInfoController extends JeecgController<BizEmployeesInfo
bizEmployeesInfoService.save(bizEmployeesInfo);
return Result.OK("添加成功!");
}
/**
* 编辑
*
@ -105,7 +105,7 @@ public class BizEmployeesInfoController extends JeecgController<BizEmployeesInfo
bizEmployeesInfoService.updateById(bizEmployeesInfo);
return Result.OK("编辑成功!");
}
/**
* 通过id删除
*
@ -120,7 +120,7 @@ public class BizEmployeesInfoController extends JeecgController<BizEmployeesInfo
bizEmployeesInfoService.removeById(id);
return Result.OK("删除成功!");
}
/**
* 批量删除
*
@ -135,7 +135,7 @@ public class BizEmployeesInfoController extends JeecgController<BizEmployeesInfo
this.bizEmployeesInfoService.removeByIds(Arrays.asList(ids.split(",")));
return Result.OK("批量删除成功!");
}
/**
* 通过id查询
*

View File

@ -32,7 +32,7 @@ import java.util.Map;
*/
@Api(tags = "服务指令包")
@RestController
@RequestMapping("/directivePackage/directivePackage")
@RequestMapping("/services/directivePackage/directivePackage")
@Slf4j
public class DirectivePackageController extends JeecgController<DirectivePackage, IDirectivePackageService> {
@Autowired

View File

@ -31,7 +31,7 @@ import java.util.Map;
*/
@Api(tags="体型标签")
@RestController
@RequestMapping("/directiveTag/bodyTag")
@RequestMapping("/services/directiveTag/bodyTag")
@Slf4j
public class DirectiveBodyTagController extends JeecgController<DirectiveBodyTag, IDirectiveBodyTagService> {
@Autowired

View File

@ -31,7 +31,7 @@ import java.util.Map;
*/
@Api(tags="情绪标签")
@RestController
@RequestMapping("/directiveTag/emotionTag")
@RequestMapping("/services/directiveTag/emotionTag")
@Slf4j
public class DirectiveEmotionTagController extends JeecgController<DirectiveEmotionTag, IDirectiveEmotionTagService> {
@Autowired

View File

@ -31,7 +31,7 @@ import java.util.Map;
*/
@Api(tags="服务类别")
@RestController
@RequestMapping("/serviceCategory/configServiceCategory")
@RequestMapping("/services/serviceCategory/configServiceCategory")
@Slf4j
public class ConfigServiceCategoryController extends JeecgController<ConfigServiceCategory, IConfigServiceCategoryService> {
@Autowired

View File

@ -38,7 +38,7 @@ import java.util.stream.Collectors;
*/
@Api(tags = "服务指令")
@RestController
@RequestMapping("/serviceDirective/configServiceDirective")
@RequestMapping("/services/serviceDirective/configServiceDirective")
@Slf4j
public class ConfigServiceDirectiveController extends JeecgController<ConfigServiceDirective, IConfigServiceDirectiveService> {
@Autowired

View File

@ -34,7 +34,7 @@ import java.util.Map;
*/
@Api(tags = "服务标签")
@RestController
@RequestMapping("/serviceTag/serviceTag")
@RequestMapping("/services/serviceTag/serviceTag")
@Slf4j
public class ServiceTagController extends JeecgController<ServiceTag, IServiceTagService> {
@Autowired

View File

@ -31,7 +31,7 @@ import java.util.Map;
*/
@Api(tags = "服务类型")
@RestController
@RequestMapping("/ServiceType/configServiceType")
@RequestMapping("/services/ServiceType/configServiceType")
@Slf4j
public class ConfigServiceTypeController extends JeecgController<ConfigServiceType, IConfigServiceTypeService> {
@Autowired

View File

@ -181,7 +181,7 @@ spring:
slow-sql-millis: 5000
datasource:
master:
url: jdbc:mysql://mysql8-prod:3306/nursing_unit_001?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://mysql8-prod:3306/nursing_unit_002?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: fw8864sshdang
password: uGDBkM25I6nZCNM2
driver-class-name: com.mysql.cj.jdbc.Driver