优化Pad端服务指令查询接口
This commit is contained in:
parent
bca639a8e5
commit
c3fe34b0b1
|
|
@ -25,7 +25,7 @@ import java.util.Map;
|
|||
/**
|
||||
* @Description: 服务类别
|
||||
* @Author: yangjun
|
||||
* @Date: 2025-03-28
|
||||
* @Date: 2025-03-28
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Service
|
||||
|
|
@ -42,125 +42,128 @@ public class NuConfigServiceCategoryServiceImpl extends ServiceImpl<NuConfigServ
|
|||
|
||||
@Override
|
||||
public List<Map<String, Object>> getServiceTree(NuConfigServiceCategory nuConfigServiceCategory) {
|
||||
//缓存媒体地址
|
||||
String mediaAddress = getOpeMediaAddress();
|
||||
|
||||
//查询护理类服务
|
||||
QueryWrapper<NuInstructionTag> instructionTagQueryWrapper = new QueryWrapper<>();
|
||||
instructionTagQueryWrapper.eq("iz_enabled","0");
|
||||
instructionTagQueryWrapper.eq("del_flag","0");
|
||||
instructionTagQueryWrapper.eq("instruction_type","1");
|
||||
instructionTagQueryWrapper.eq("iz_enabled", "0");
|
||||
instructionTagQueryWrapper.eq("del_flag", "0");
|
||||
instructionTagQueryWrapper.eq("instruction_type", "1");
|
||||
List<NuInstructionTag> instructionTagList = nuInstructionTagService.list(instructionTagQueryWrapper);
|
||||
Map<String,Object> tagMap = new HashMap<String,Object>();
|
||||
for(NuInstructionTag par : instructionTagList){
|
||||
tagMap.put(par.getId(),par.getInstructionName());
|
||||
Map<String, Object> tagMap = new HashMap<String, Object>();
|
||||
for (NuInstructionTag par : instructionTagList) {
|
||||
tagMap.put(par.getId(), par.getInstructionName());
|
||||
}
|
||||
|
||||
//查询服务类别数据
|
||||
QueryWrapper<NuConfigServiceCategory> categoryQueryWrapper = new QueryWrapper<>();
|
||||
categoryQueryWrapper.eq("iz_enabled","0");
|
||||
categoryQueryWrapper.eq("del_flag","0");
|
||||
categoryQueryWrapper.eq("iz_enabled", "0");
|
||||
categoryQueryWrapper.eq("del_flag", "0");
|
||||
List<NuConfigServiceCategory> categoryList = baseMapper.selectList(categoryQueryWrapper);
|
||||
//查询服务类型数据
|
||||
QueryWrapper<NuConfigServiceType> typeQueryWrapper = new QueryWrapper<>();
|
||||
typeQueryWrapper.eq("iz_enabled","0");
|
||||
typeQueryWrapper.eq("del_flag","0");
|
||||
typeQueryWrapper.eq("iz_enabled", "0");
|
||||
typeQueryWrapper.eq("del_flag", "0");
|
||||
List<NuConfigServiceType> typeList = nuConfigServiceTypeService.list(typeQueryWrapper);
|
||||
//查询服务指令数据
|
||||
QueryWrapper<NuConfigServiceDirective> directiveQueryWrapper = new QueryWrapper<>();
|
||||
directiveQueryWrapper.eq("iz_enabled","0");
|
||||
directiveQueryWrapper.eq("del_flag","0");
|
||||
directiveQueryWrapper.eq("iz_enabled", "0");
|
||||
directiveQueryWrapper.eq("del_flag", "0");
|
||||
List<NuConfigServiceDirective> directiveList = nuConfigServiceDirectiveService.list(directiveQueryWrapper);
|
||||
|
||||
//封装服务指令和服务类型tree集合
|
||||
List<Map<String, Object>> typeMapList = new ArrayList<>();
|
||||
for(NuConfigServiceType par : typeList){
|
||||
Map<String,Object> wllxMap = new HashMap<String,Object>();
|
||||
List<Map<String,Object>> directiceMapList = new ArrayList<Map<String,Object>>();
|
||||
for(NuConfigServiceDirective directicePar:directiveList){
|
||||
if(StringUtils.equals(directicePar.getTypeId(),par.getId())){
|
||||
Map<String,Object> directiceMap = new HashMap<String,Object>();
|
||||
directiceMap.put("id",directicePar.getId());
|
||||
directiceMap.put("title",directicePar.getDirectiveName());
|
||||
directiceMap.put("serviceDuration",directicePar.getServiceDuration());
|
||||
directiceMap.put("categoryId",directicePar.getCategoryId());
|
||||
directiceMap.put("categoryName",directicePar.getCategoryName());
|
||||
directiceMap.put("typeId",directicePar.getTypeId());
|
||||
directiceMap.put("typeName",directicePar.getTypeName());
|
||||
directiceMap.put("cycleTypeId",directicePar.getCycleType());
|
||||
directiceMap.put("cycleType",directicePar.getCycleTypeName());
|
||||
directiceMap.put("izPackage","0");
|
||||
if(directicePar.getImmediateFile()!=null){
|
||||
String immediateFile = getImageNetUrl(directicePar.getImmediateFile());
|
||||
directiceMap.put("immediateFile",directicePar.getImmediateFile());
|
||||
directiceMap.put("netImmediateFile",immediateFile);
|
||||
}else{
|
||||
directiceMap.put("immediateFile","");
|
||||
directiceMap.put("netImmediateFile","");
|
||||
for (NuConfigServiceType par : typeList) {
|
||||
Map<String, Object> wllxMap = new HashMap<String, Object>();
|
||||
List<Map<String, Object>> directiceMapList = new ArrayList<Map<String, Object>>();
|
||||
for (NuConfigServiceDirective directicePar : directiveList) {
|
||||
if (StringUtils.equals(directicePar.getTypeId(), par.getId())) {
|
||||
Map<String, Object> directiceMap = new HashMap<String, Object>();
|
||||
directiceMap.put("id", directicePar.getId());
|
||||
directiceMap.put("title", directicePar.getDirectiveName());
|
||||
directiceMap.put("serviceDuration", directicePar.getServiceDuration());
|
||||
directiceMap.put("categoryId", directicePar.getCategoryId());
|
||||
directiceMap.put("categoryName", directicePar.getCategoryName());
|
||||
directiceMap.put("typeId", directicePar.getTypeId());
|
||||
directiceMap.put("typeName", directicePar.getTypeName());
|
||||
directiceMap.put("cycleTypeId", directicePar.getCycleType());
|
||||
directiceMap.put("cycleType", directicePar.getCycleTypeName());
|
||||
directiceMap.put("izPackage", "0");
|
||||
if (directicePar.getImmediateFile() != null) {
|
||||
String immediateFile = getImageNetUrl(directicePar.getImmediateFile(), mediaAddress);
|
||||
directiceMap.put("immediateFile", directicePar.getImmediateFile());
|
||||
directiceMap.put("netImmediateFile", immediateFile);
|
||||
} else {
|
||||
directiceMap.put("immediateFile", "");
|
||||
directiceMap.put("netImmediateFile", "");
|
||||
}
|
||||
if(directicePar.getImmediateFileFocus()!=null){
|
||||
String immediateFileFocus = getImageNetUrl(directicePar.getImmediateFileFocus());
|
||||
directiceMap.put("immediateFileFocus",directicePar.getImmediateFileFocus());
|
||||
directiceMap.put("netImmediateFileFocus",immediateFileFocus);
|
||||
}else{
|
||||
directiceMap.put("immediateFileFocus","");
|
||||
directiceMap.put("netImmediateFileFocus","");
|
||||
if (directicePar.getImmediateFileFocus() != null) {
|
||||
String immediateFileFocus = getImageNetUrl(directicePar.getImmediateFileFocus(), mediaAddress);
|
||||
directiceMap.put("immediateFileFocus", directicePar.getImmediateFileFocus());
|
||||
directiceMap.put("netImmediateFileFocus", immediateFileFocus);
|
||||
} else {
|
||||
directiceMap.put("immediateFileFocus", "");
|
||||
directiceMap.put("netImmediateFileFocus", "");
|
||||
}
|
||||
if(directicePar.getPreviewFile()!=null){
|
||||
String previewFile = getImageNetUrl(directicePar.getPreviewFile());
|
||||
directiceMap.put("previewFile",directicePar.getPreviewFile());
|
||||
directiceMap.put("netPreviewFile",previewFile);
|
||||
}else{
|
||||
directiceMap.put("previewFile","");
|
||||
directiceMap.put("netPreviewFile","");
|
||||
if (directicePar.getPreviewFile() != null) {
|
||||
String previewFile = getImageNetUrl(directicePar.getPreviewFile(), mediaAddress);
|
||||
directiceMap.put("previewFile", directicePar.getPreviewFile());
|
||||
directiceMap.put("netPreviewFile", previewFile);
|
||||
} else {
|
||||
directiceMap.put("previewFile", "");
|
||||
directiceMap.put("netPreviewFile", "");
|
||||
}
|
||||
if(directicePar.getPreviewFileSmall()!=null){
|
||||
String previewFileSmall = getImageNetUrl(directicePar.getPreviewFileSmall());
|
||||
directiceMap.put("previewFileSmall",directicePar.getPreviewFileSmall());
|
||||
directiceMap.put("netPreviewFileSmall",previewFileSmall);
|
||||
}else{
|
||||
directiceMap.put("previewFileSmall","");
|
||||
directiceMap.put("netPreviewFileSmall","");
|
||||
if (directicePar.getPreviewFileSmall() != null) {
|
||||
String previewFileSmall = getImageNetUrl(directicePar.getPreviewFileSmall(), mediaAddress);
|
||||
directiceMap.put("previewFileSmall", directicePar.getPreviewFileSmall());
|
||||
directiceMap.put("netPreviewFileSmall", previewFileSmall);
|
||||
} else {
|
||||
directiceMap.put("previewFileSmall", "");
|
||||
directiceMap.put("netPreviewFileSmall", "");
|
||||
}
|
||||
directiceMap.put("levle","3");
|
||||
directiceMap.put("levle", "3");
|
||||
directiceMapList.add(directiceMap);
|
||||
}
|
||||
}
|
||||
wllxMap.put("key",par.getId());
|
||||
wllxMap.put("parentId",par.getCategoryId());
|
||||
wllxMap.put("title",par.getTypeName());
|
||||
wllxMap.put("netFlag",par.getNetFlag());
|
||||
wllxMap.put("key", par.getId());
|
||||
wllxMap.put("parentId", par.getCategoryId());
|
||||
wllxMap.put("title", par.getTypeName());
|
||||
wllxMap.put("netFlag", par.getNetFlag());
|
||||
List<String> imagePaths = new ArrayList<>();
|
||||
if(par.getAnimationPath()!=null){
|
||||
imagePaths = getImageNetUrls(par.getAnimationPath());
|
||||
if (par.getAnimationPath() != null) {
|
||||
imagePaths = getImageNetUrls(par.getAnimationPath(), mediaAddress);
|
||||
}
|
||||
wllxMap.put("animationPath",imagePaths);
|
||||
wllxMap.put("levle","2");
|
||||
wllxMap.put("children",directiceMapList);
|
||||
wllxMap.put("animationPath", imagePaths);
|
||||
wllxMap.put("levle", "2");
|
||||
wllxMap.put("children", directiceMapList);
|
||||
typeMapList.add(wllxMap);
|
||||
}
|
||||
|
||||
//封装服务类别服务类型tree集合
|
||||
List<Map<String, Object>> treeList = new ArrayList<>();
|
||||
int index = 0;
|
||||
for(NuConfigServiceCategory par : categoryList){
|
||||
for (NuConfigServiceCategory par : categoryList) {
|
||||
index++;
|
||||
Map<String,Object> infoMap = new HashMap<String,Object>();
|
||||
List<Map<String,Object>> wllxMap2List = new ArrayList<Map<String,Object>>();
|
||||
for(Map<String,Object> wllxPar : typeMapList){
|
||||
if(StringUtils.equals(par.getId(),wllxPar.get("parentId").toString())){
|
||||
Map<String, Object> infoMap = new HashMap<String, Object>();
|
||||
List<Map<String, Object>> wllxMap2List = new ArrayList<Map<String, Object>>();
|
||||
for (Map<String, Object> wllxPar : typeMapList) {
|
||||
if (StringUtils.equals(par.getId(), wllxPar.get("parentId").toString())) {
|
||||
wllxMap2List.add(wllxPar);
|
||||
}
|
||||
}
|
||||
if(tagMap.get(par.getInstructionId())!=null){
|
||||
if (tagMap.get(par.getInstructionId()) != null) {
|
||||
|
||||
infoMap.put("key",par.getId());
|
||||
infoMap.put("title",par.getCategoryName().substring(0,2));
|
||||
infoMap.put("netFlag",par.getNetFlag());
|
||||
infoMap.put("key", par.getId());
|
||||
infoMap.put("title", par.getCategoryName().substring(0, 2));
|
||||
infoMap.put("netFlag", par.getNetFlag());
|
||||
List<String> imagePaths = new ArrayList<>();
|
||||
if(par.getAnimationPath()!=null){
|
||||
imagePaths = getImageNetUrls(par.getAnimationPath());
|
||||
if (par.getAnimationPath() != null) {
|
||||
imagePaths = getImageNetUrls(par.getAnimationPath(), mediaAddress);
|
||||
}
|
||||
infoMap.put("animationPath",imagePaths);
|
||||
infoMap.put("levle","1");
|
||||
infoMap.put("children",wllxMap2List);
|
||||
infoMap.put("animationPath", imagePaths);
|
||||
infoMap.put("levle", "1");
|
||||
infoMap.put("children", wllxMap2List);
|
||||
treeList.add(infoMap);
|
||||
}
|
||||
}
|
||||
|
|
@ -169,13 +172,14 @@ public class NuConfigServiceCategoryServiceImpl extends ServiceImpl<NuConfigServ
|
|||
|
||||
/**
|
||||
* 获取管理平台静态资源路径
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
private String getOpeMediaAddress(){
|
||||
private String getOpeMediaAddress() {
|
||||
JSONObject json = sysConfigApi.getByKey("ope_media_address");
|
||||
if(json!=null){
|
||||
if (json != null) {
|
||||
String configValue = json.getString("configValue");
|
||||
if(!configValue.endsWith("/")){
|
||||
if (!configValue.endsWith("/")) {
|
||||
configValue += "/";
|
||||
}
|
||||
return configValue;
|
||||
|
|
@ -183,23 +187,23 @@ public class NuConfigServiceCategoryServiceImpl extends ServiceImpl<NuConfigServ
|
|||
return "";
|
||||
}
|
||||
|
||||
private String getImageNetUrl(String imageUrl){
|
||||
private String getImageNetUrl(String imageUrl, String mediaAddress) {
|
||||
String netUrl = "";
|
||||
String configValue = getOpeMediaAddress();
|
||||
if(!configValue.equals("")){
|
||||
netUrl = configValue + imageUrl;
|
||||
// String configValue = getOpeMediaAddress();
|
||||
if (!mediaAddress.equals("")) {
|
||||
netUrl = mediaAddress + imageUrl;
|
||||
}
|
||||
return netUrl;
|
||||
}
|
||||
|
||||
private List<String> getImageNetUrls(String imageUrl){
|
||||
private List<String> getImageNetUrls(String imageUrl, String mediaAddress) {
|
||||
List<String> imagePaths = new ArrayList<>();
|
||||
String configValue = getOpeMediaAddress();
|
||||
if(!configValue.equals("")){
|
||||
// String configValue = getOpeMediaAddress();
|
||||
if (!mediaAddress.equals("")) {
|
||||
String[] urls = imageUrl.split(",");
|
||||
for (String url : urls) {
|
||||
if (!url.isEmpty()) {
|
||||
String netUrl = configValue + url;
|
||||
String netUrl = mediaAddress + url;
|
||||
imagePaths.add(netUrl);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,180 @@
|
|||
package com.nu.modules.customercaretemp.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.customercaretemp.entity.NuBizCustomerCareTempInfo;
|
||||
import com.nu.modules.customercaretemp.service.INuBizCustomerCareTempInfoService;
|
||||
|
||||
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-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Api(tags="服务指令模版子表")
|
||||
@RestController
|
||||
@RequestMapping("/services/nuBizCustomerCareTempInfo")
|
||||
@Slf4j
|
||||
public class NuBizCustomerCareTempInfoController extends JeecgController<NuBizCustomerCareTempInfo, INuBizCustomerCareTempInfoService> {
|
||||
@Autowired
|
||||
private INuBizCustomerCareTempInfoService nuBizCustomerCareTempInfoService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @param nuBizCustomerCareTempInfo
|
||||
* @param pageNo
|
||||
* @param pageSize
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "服务指令模版子表-分页列表查询")
|
||||
@ApiOperation(value="服务指令模版子表-分页列表查询", notes="服务指令模版子表-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<NuBizCustomerCareTempInfo>> queryPageList(NuBizCustomerCareTempInfo nuBizCustomerCareTempInfo,
|
||||
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
||||
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
||||
HttpServletRequest req) {
|
||||
QueryWrapper<NuBizCustomerCareTempInfo> queryWrapper = QueryGenerator.initQueryWrapper(nuBizCustomerCareTempInfo, req.getParameterMap());
|
||||
Page<NuBizCustomerCareTempInfo> page = new Page<NuBizCustomerCareTempInfo>(pageNo, pageSize);
|
||||
IPage<NuBizCustomerCareTempInfo> pageList = nuBizCustomerCareTempInfoService.page(page, queryWrapper);
|
||||
return Result.OK(pageList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param nuBizCustomerCareTempInfo
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "服务指令模版子表-添加")
|
||||
@ApiOperation(value="服务指令模版子表-添加", notes="服务指令模版子表-添加")
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_info:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody NuBizCustomerCareTempInfo nuBizCustomerCareTempInfo) {
|
||||
nuBizCustomerCareTempInfoService.save(nuBizCustomerCareTempInfo);
|
||||
return Result.OK("添加成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param nuBizCustomerCareTempInfo
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "服务指令模版子表-编辑")
|
||||
@ApiOperation(value="服务指令模版子表-编辑", notes="服务指令模版子表-编辑")
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_info:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody NuBizCustomerCareTempInfo nuBizCustomerCareTempInfo) {
|
||||
nuBizCustomerCareTempInfoService.updateById(nuBizCustomerCareTempInfo);
|
||||
return Result.OK("编辑成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "服务指令模版子表-通过id删除")
|
||||
@ApiOperation(value="服务指令模版子表-通过id删除", notes="服务指令模版子表-通过id删除")
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_info:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name="id",required=true) String id) {
|
||||
nuBizCustomerCareTempInfoService.removeById(id);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "服务指令模版子表-批量删除")
|
||||
@ApiOperation(value="服务指令模版子表-批量删除", notes="服务指令模版子表-批量删除")
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_info:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
|
||||
this.nuBizCustomerCareTempInfoService.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<NuBizCustomerCareTempInfo> queryById(@RequestParam(name="id",required=true) String id) {
|
||||
NuBizCustomerCareTempInfo nuBizCustomerCareTempInfo = nuBizCustomerCareTempInfoService.getById(id);
|
||||
if(nuBizCustomerCareTempInfo==null) {
|
||||
return Result.error("未找到对应数据");
|
||||
}
|
||||
return Result.OK(nuBizCustomerCareTempInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出excel
|
||||
*
|
||||
* @param request
|
||||
* @param nuBizCustomerCareTempInfo
|
||||
*/
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_info:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, NuBizCustomerCareTempInfo nuBizCustomerCareTempInfo) {
|
||||
return super.exportXls(request, nuBizCustomerCareTempInfo, NuBizCustomerCareTempInfo.class, "服务指令模版子表");
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过excel导入数据
|
||||
*
|
||||
* @param request
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_info:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, NuBizCustomerCareTempInfo.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,162 @@
|
|||
package com.nu.modules.customercaretemp.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.customercaretemp.entity.NuBizCustomerCareTempMain;
|
||||
import com.nu.modules.customercaretemp.service.INuBizCustomerCareTempMainService;
|
||||
|
||||
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-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Api(tags="服务指令模版主表")
|
||||
@RestController
|
||||
@RequestMapping("/services/nuBizCustomerCareTempMain")
|
||||
@Slf4j
|
||||
public class NuBizCustomerCareTempMainController extends JeecgController<NuBizCustomerCareTempMain, INuBizCustomerCareTempMainService> {
|
||||
@Autowired
|
||||
private INuBizCustomerCareTempMainService nuBizCustomerCareTempMainService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @param nuBizCustomerCareTempMain
|
||||
* @param pageNo
|
||||
* @param pageSize
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "服务指令模版主表-分页列表查询")
|
||||
@ApiOperation(value="服务指令模版主表-分页列表查询", notes="服务指令模版主表-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<NuBizCustomerCareTempMain>> queryPageList(NuBizCustomerCareTempMain nuBizCustomerCareTempMain,
|
||||
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
||||
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
||||
HttpServletRequest req) {
|
||||
QueryWrapper<NuBizCustomerCareTempMain> queryWrapper = QueryGenerator.initQueryWrapper(nuBizCustomerCareTempMain, req.getParameterMap());
|
||||
Page<NuBizCustomerCareTempMain> page = new Page<NuBizCustomerCareTempMain>(pageNo, pageSize);
|
||||
IPage<NuBizCustomerCareTempMain> pageList = nuBizCustomerCareTempMainService.page(page, queryWrapper);
|
||||
return Result.OK(pageList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param nuBizCustomerCareTempMain
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "服务指令模版主表-添加")
|
||||
@ApiOperation(value="服务指令模版主表-添加", notes="服务指令模版主表-添加")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody NuBizCustomerCareTempMain nuBizCustomerCareTempMain) {
|
||||
nuBizCustomerCareTempMainService.save(nuBizCustomerCareTempMain);
|
||||
return Result.OK("添加成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param nuBizCustomerCareTempMain
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "服务指令模版主表-编辑")
|
||||
@ApiOperation(value="服务指令模版主表-编辑", notes="服务指令模版主表-编辑")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody NuBizCustomerCareTempMain nuBizCustomerCareTempMain) {
|
||||
nuBizCustomerCareTempMainService.updateById(nuBizCustomerCareTempMain);
|
||||
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) {
|
||||
nuBizCustomerCareTempMainService.removeById(id);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "服务指令模版主表-通过id查询")
|
||||
@ApiOperation(value="服务指令模版主表-通过id查询", notes="服务指令模版主表-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<NuBizCustomerCareTempMain> queryById(@RequestParam(name="id",required=true) String id) {
|
||||
NuBizCustomerCareTempMain nuBizCustomerCareTempMain = nuBizCustomerCareTempMainService.getById(id);
|
||||
if(nuBizCustomerCareTempMain==null) {
|
||||
return Result.error("未找到对应数据");
|
||||
}
|
||||
return Result.OK(nuBizCustomerCareTempMain);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出excel
|
||||
*
|
||||
* @param request
|
||||
* @param nuBizCustomerCareTempMain
|
||||
*/
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_main:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, NuBizCustomerCareTempMain nuBizCustomerCareTempMain) {
|
||||
return super.exportXls(request, nuBizCustomerCareTempMain, NuBizCustomerCareTempMain.class, "服务指令模版主表");
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过excel导入数据
|
||||
*
|
||||
* @param request
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("customercaretemp:nu_biz_customer_care_temp_main:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, NuBizCustomerCareTempMain.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,144 @@
|
|||
package com.nu.modules.customercaretemp.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-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("nu_biz_customer_care_temp_info")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="nu_biz_customer_care_temp_info对象", description="服务指令模版子表")
|
||||
public class NuBizCustomerCareTempInfo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**id*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private java.lang.String id;
|
||||
/**主表id nu_biz_customer_care_temp_main.id*/
|
||||
@Excel(name = "主表id nu_biz_customer_care_temp_main.id", width = 15)
|
||||
@ApiModelProperty(value = "主表id nu_biz_customer_care_temp_main.id")
|
||||
private java.lang.String pkId;
|
||||
/**服务类别id*/
|
||||
@Excel(name = "服务类别id", width = 15)
|
||||
@ApiModelProperty(value = "服务类别id")
|
||||
private java.lang.String categoryId;
|
||||
/**服务类别名称*/
|
||||
@Excel(name = "服务类别名称", width = 15)
|
||||
@ApiModelProperty(value = "服务类别名称")
|
||||
private java.lang.String categoryName;
|
||||
/**服务类型id*/
|
||||
@Excel(name = "服务类型id", width = 15)
|
||||
@ApiModelProperty(value = "服务类型id")
|
||||
private java.lang.String typeId;
|
||||
/**服务类型名称*/
|
||||
@Excel(name = "服务类型名称", width = 15)
|
||||
@ApiModelProperty(value = "服务类型名称")
|
||||
private java.lang.String typeName;
|
||||
/**服务指令id*/
|
||||
@Excel(name = "服务指令id", width = 15)
|
||||
@ApiModelProperty(value = "服务指令id")
|
||||
private java.lang.String directiveId;
|
||||
/**服务指令名称*/
|
||||
@Excel(name = "服务指令名称", width = 15)
|
||||
@ApiModelProperty(value = "服务指令名称")
|
||||
private java.lang.String directiveName;
|
||||
/**服务指令图片大图*/
|
||||
@Excel(name = "服务指令图片大图", width = 15)
|
||||
@ApiModelProperty(value = "服务指令图片大图")
|
||||
private java.lang.String previewFile;
|
||||
/**服务指令图片小图*/
|
||||
@Excel(name = "服务指令图片小图", width = 15)
|
||||
@ApiModelProperty(value = "服务指令图片小图")
|
||||
private java.lang.String previewFileSmall;
|
||||
/**即时指令图片*/
|
||||
@Excel(name = "即时指令图片", width = 15)
|
||||
@ApiModelProperty(value = "即时指令图片")
|
||||
private java.lang.String immediateFile;
|
||||
/**即时指令焦点图片*/
|
||||
@Excel(name = "即时指令焦点图片", width = 15)
|
||||
@ApiModelProperty(value = "即时指令焦点图片")
|
||||
private java.lang.String immediateFileFocus;
|
||||
/**周期类型ID*/
|
||||
@Excel(name = "周期类型ID", width = 15)
|
||||
@ApiModelProperty(value = "周期类型ID")
|
||||
private java.lang.String cycleTypeId;
|
||||
/**周期类型*/
|
||||
@Excel(name = "周期类型", width = 15)
|
||||
@ApiModelProperty(value = "周期类型")
|
||||
private java.lang.String cycleType;
|
||||
/**周期值*/
|
||||
@Excel(name = "周期值", width = 15)
|
||||
@ApiModelProperty(value = "周期值")
|
||||
private java.lang.String cycleValue;
|
||||
/**服务时长(分钟)*/
|
||||
@Excel(name = "服务时长(分钟)", width = 15)
|
||||
@ApiModelProperty(value = "服务时长(分钟)")
|
||||
private java.lang.String serviceDuration;
|
||||
/**横向定位*/
|
||||
@Excel(name = "横向定位", width = 15)
|
||||
@ApiModelProperty(value = "横向定位")
|
||||
private java.lang.String positioning;
|
||||
/**纵向定位*/
|
||||
@Excel(name = "纵向定位", width = 15)
|
||||
@ApiModelProperty(value = "纵向定位")
|
||||
private java.lang.String positioningLong;
|
||||
/**服务标签名称*/
|
||||
@Excel(name = "服务标签名称", width = 15)
|
||||
@ApiModelProperty(value = "服务标签名称")
|
||||
private java.lang.String tagName;
|
||||
/**开始时间*/
|
||||
@Excel(name = "开始时间", width = 15)
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
private java.lang.String startTime;
|
||||
/**结束时间*/
|
||||
@Excel(name = "结束时间", width = 15)
|
||||
@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;
|
||||
/**是否是服务指令包 0否 1是*/
|
||||
@Excel(name = "是否是服务指令包 0否 1是", width = 15)
|
||||
@ApiModelProperty(value = "是否是服务指令包 0否 1是")
|
||||
private java.lang.String izPackage;
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
package com.nu.modules.customercaretemp.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-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("nu_biz_customer_care_temp_main")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="nu_biz_customer_care_temp_main对象", description="服务指令模版主表")
|
||||
public class NuBizCustomerCareTempMain 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;
|
||||
/**创建人*/
|
||||
@ApiModelProperty(value = "创建人")
|
||||
@Dict(dictTable = "sys_user",dicCode = "username",dicText = "realname")
|
||||
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;
|
||||
/**是否删除 0未删除 1删除*/
|
||||
@Excel(name = "是否删除 0未删除 1删除", width = 15)
|
||||
@ApiModelProperty(value = "是否删除 0未删除 1删除")
|
||||
@TableLogic
|
||||
private java.lang.String delFlag;
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.nu.modules.customercaretemp.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import com.nu.modules.customercaretemp.entity.NuBizCustomerCareTempInfo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令模版子表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2025-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface NuBizCustomerCareTempInfoMapper extends BaseMapper<NuBizCustomerCareTempInfo> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.nu.modules.customercaretemp.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import com.nu.modules.customercaretemp.entity.NuBizCustomerCareTempMain;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令模版主表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2025-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface NuBizCustomerCareTempMainMapper extends BaseMapper<NuBizCustomerCareTempMain> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nu.modules.customercaretemp.mapper.NuBizCustomerCareTempInfoMapper">
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nu.modules.customercaretemp.mapper.NuBizCustomerCareTempMainMapper">
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.customercaretemp.service;
|
||||
|
||||
import com.nu.modules.customercaretemp.entity.NuBizCustomerCareTempInfo;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令模版子表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2025-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface INuBizCustomerCareTempInfoService extends IService<NuBizCustomerCareTempInfo> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.customercaretemp.service;
|
||||
|
||||
import com.nu.modules.customercaretemp.entity.NuBizCustomerCareTempMain;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令模版主表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2025-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface INuBizCustomerCareTempMainService extends IService<NuBizCustomerCareTempMain> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
package com.nu.modules.customercaretemp.service.impl;
|
||||
|
||||
import com.nu.modules.customercaretemp.entity.NuBizCustomerCareTempInfo;
|
||||
import com.nu.modules.customercaretemp.mapper.NuBizCustomerCareTempInfoMapper;
|
||||
import com.nu.modules.customercaretemp.service.INuBizCustomerCareTempInfoService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令模版子表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2025-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Service
|
||||
public class NuBizCustomerCareTempInfoServiceImpl extends ServiceImpl<NuBizCustomerCareTempInfoMapper, NuBizCustomerCareTempInfo> implements INuBizCustomerCareTempInfoService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
package com.nu.modules.customercaretemp.service.impl;
|
||||
|
||||
import com.nu.modules.customercaretemp.entity.NuBizCustomerCareTempMain;
|
||||
import com.nu.modules.customercaretemp.mapper.NuBizCustomerCareTempMainMapper;
|
||||
import com.nu.modules.customercaretemp.service.INuBizCustomerCareTempMainService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令模版主表
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2025-11-12
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Service
|
||||
public class NuBizCustomerCareTempMainServiceImpl extends ServiceImpl<NuBizCustomerCareTempMainMapper, NuBizCustomerCareTempMain> implements INuBizCustomerCareTempMainService {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue