Browse Source

仓库和项目关联新增

master
wangpengfei 2 years ago
parent
commit
10ac23172a
  1. 2
      warehousing-system/project/wh-common/src/main/java/com/wh/pojo/shstorehouse/ShStorehouseDetailsVo.java
  2. 2
      warehousing-system/project/wh-common/src/main/java/com/wh/pojo/shstorehouse/ShStorehouseDto.java
  3. 6
      warehousing-system/project/wh-common/src/main/java/com/wh/pojo/storehouseproject/StoreHouseProjectDto.java
  4. 14
      warehousing-system/project/wh-manage/src/main/java/com/wh/controller/shstorehouse/ShStorehouseRest.java
  5. 22
      warehousing-system/project/wh-manage/src/main/java/com/wh/feign/crm/ProjectInformationFeign.java
  6. 35
      warehousing-system/project/wh-manage/src/main/java/com/wh/service/shstorehouse/ShStorehouseService.java
  7. 6
      warehousing-system/project/wh-manage/src/main/java/com/wh/service/storehouseproject/StoreHouseProjectService.java
  8. 2
      warehousing-system/project/wh-manage/src/main/resources/mappers/ShStorehouseAttachmentMapper.xml
  9. 4
      yxt_supervise/supervise-crm/supervise-crm-api/src/main/java/com/yxt/supervise/crm/api/storehouseproject/StoreHouseProjectDto.java
  10. 3
      yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationMapper.java
  11. 23
      yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationRest.java
  12. 4
      yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationService.java
  13. 2
      yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/feign/wh/ShStorehouseFeign.java
  14. 2
      yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/feign/wh/ShStorehouseQuery.java
  15. 15
      yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/system/flow/FlowableRest.java

2
warehousing-system/project/wh-common/src/main/java/com/wh/pojo/shstorehouse/ShStorehouseDetailsVo.java

@ -104,4 +104,6 @@ public class ShStorehouseDetailsVo implements Vo {
private String lon; private String lon;
@ApiModelProperty("维度") @ApiModelProperty("维度")
private String lat; private String lat;
private String projectSid;//项目sid
private String projectName;//项目名称
} }

2
warehousing-system/project/wh-common/src/main/java/com/wh/pojo/shstorehouse/ShStorehouseDto.java

@ -27,6 +27,7 @@ package com.wh.pojo.shstorehouse;
import com.wh.pojo.shstorehouseattribute.ShStorehouseAttributeDto; import com.wh.pojo.shstorehouseattribute.ShStorehouseAttributeDto;
import com.wh.pojo.storehouseproject.StoreHouseProjectDto;
import com.yxt.common.core.dto.Dto; import com.yxt.common.core.dto.Dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
@ -105,4 +106,5 @@ public class ShStorehouseDto implements Dto {
private String lon; private String lon;
@ApiModelProperty("维度") @ApiModelProperty("维度")
private String lat; private String lat;
private String projectSid;//项目sid
} }

6
warehousing-system/project/wh-common/src/main/java/com/wh/pojo/storehouseproject/StoreHouseProjectDto.java

@ -3,6 +3,8 @@ package com.wh.pojo.storehouseproject;
import com.yxt.common.core.dto.Dto; import com.yxt.common.core.dto.Dto;
import lombok.Data; import lombok.Data;
import java.util.List;
/** /**
* @author wangpengfei * @author wangpengfei
* @date 2023/7/19 15:37 * @date 2023/7/19 15:37
@ -11,6 +13,6 @@ import lombok.Data;
public class StoreHouseProjectDto implements Dto { public class StoreHouseProjectDto implements Dto {
private String id; private String id;
private String sid; private String sid;
private String shSid; private String shSid;//仓库sid
private String projectSid; private String projectSid;//项目sid
} }

14
warehousing-system/project/wh-manage/src/main/java/com/wh/controller/shstorehouse/ShStorehouseRest.java

@ -26,6 +26,7 @@
package com.wh.controller.shstorehouse; package com.wh.controller.shstorehouse;
import cn.hutool.core.lang.Assert; import cn.hutool.core.lang.Assert;
import com.wh.feign.crm.ProjectInformationFeign;
import com.wh.feign.enterpriseinformation.WhEnterpriseInformationFeign; import com.wh.feign.enterpriseinformation.WhEnterpriseInformationFeign;
import com.wh.feign.enterpriseinformation.WhEnterpriseInformationVo; import com.wh.feign.enterpriseinformation.WhEnterpriseInformationVo;
import com.wh.pojo.shstorehouse.*; import com.wh.pojo.shstorehouse.*;
@ -73,6 +74,8 @@ public class ShStorehouseRest {
private ShStorehouseAttachmentService shStorehouseAttachmentService; private ShStorehouseAttachmentService shStorehouseAttachmentService;
@Autowired @Autowired
private WhEnterpriseInformationFeign whEnterpriseInformationFeign; private WhEnterpriseInformationFeign whEnterpriseInformationFeign;
@Autowired
private ProjectInformationFeign projectInformationFeign;
@ApiOperation("根据条件分页查询数据的列表") @ApiOperation("根据条件分页查询数据的列表")
@PostMapping("/listPage") @PostMapping("/listPage")
public ResultBean<PagerVo<ShStorehouseVo>> listPage(@RequestBody PagerQuery<ShStorehouseQuery> pq){ public ResultBean<PagerVo<ShStorehouseVo>> listPage(@RequestBody PagerQuery<ShStorehouseQuery> pq){
@ -80,13 +83,14 @@ public class ShStorehouseRest {
PagerVo<ShStorehouseVo> pv = shStorehouseService.listPageVo(pq); PagerVo<ShStorehouseVo> pv = shStorehouseService.listPageVo(pq);
return rb.success().setData(pv); return rb.success().setData(pv);
} }
@ApiOperation("根据条件分页查询数据的列表") @ApiOperation("查询项目所有")
@PostMapping("/selectSh") @GetMapping("/selectAllProject")
public ResultBean<List<ShStorehouseVo>> selectSh(@RequestBody PagerQuery<ShStorehouseQuery> pq){ public ResultBean selectAllProject(){
ResultBean rb = ResultBean.fireFail(); ResultBean rb = ResultBean.fireFail();
List<ShStorehouseVo> pv = shStorehouseService.selectSh(pq); ResultBean resultBean = projectInformationFeign.listAll();
return rb.success().setData(pv); return resultBean;
} }
@ApiOperation("根据项目sid查询仓库") @ApiOperation("根据项目sid查询仓库")
@GetMapping("/getStorehouseBySid") @GetMapping("/getStorehouseBySid")
public ResultBean<List<ShStorehouseVo>> getStorehouseBySid(String sid){ public ResultBean<List<ShStorehouseVo>> getStorehouseBySid(String sid){

22
warehousing-system/project/wh-manage/src/main/java/com/wh/feign/crm/ProjectInformationFeign.java

@ -0,0 +1,22 @@
package com.wh.feign.crm;
import com.yxt.common.core.result.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
/**
* @author wangpengfei
* @date 2023/7/21 9:19
*/
@FeignClient(
contextId = "supervise-crm-projectinformation",
name = "supervise-crm",
path = "v1/projectinformation")
public interface ProjectInformationFeign {
@GetMapping("/listAll")
public ResultBean listAll();
@GetMapping("/getProjectNameBySid")
public String getProjectNameBySid(@RequestParam("sid")String sid);
}

35
warehousing-system/project/wh-manage/src/main/java/com/wh/service/shstorehouse/ShStorehouseService.java

@ -28,14 +28,17 @@ package com.wh.service.shstorehouse;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.feign.crm.ProjectInformationFeign;
import com.wh.mapper.shstorehouse.ShStorehouseMapper; import com.wh.mapper.shstorehouse.ShStorehouseMapper;
import com.wh.pojo.shstorehouse.*; import com.wh.pojo.shstorehouse.*;
import com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentDetailsVo; import com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentDetailsVo;
import com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentDto; import com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentDto;
import com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentVo; import com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentVo;
import com.wh.pojo.storehouseproject.StoreHouseProject;
import com.wh.pojo.storehouseproject.StoreHouseProjectDto;
import com.wh.service.shstorehouseattachment.ShStorehouseAttachmentService; import com.wh.service.shstorehouseattachment.ShStorehouseAttachmentService;
import com.wh.service.storehouseproject.StoreHouseProjectService;
import com.yxt.common.base.config.component.FileUploadComponent; import com.yxt.common.base.config.component.FileUploadComponent;
import com.yxt.common.base.config.component.ImageUploadUtil;
import com.yxt.common.core.result.FileUploadResult; import com.yxt.common.core.result.FileUploadResult;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import com.yxt.common.base.service.MybatisBaseService; import com.yxt.common.base.service.MybatisBaseService;
@ -49,7 +52,6 @@ import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import java.io.File;
import java.util.*; import java.util.*;
/** /**
@ -71,6 +73,10 @@ public class ShStorehouseService extends MybatisBaseService<ShStorehouseMapper,
private FileUploadComponent fileUploadComponent; private FileUploadComponent fileUploadComponent;
@Autowired @Autowired
private ShStorehouseAttachmentService shStorehouseAttachmentService; private ShStorehouseAttachmentService shStorehouseAttachmentService;
@Autowired
private StoreHouseProjectService storeHouseProjectService;
@Autowired
private ProjectInformationFeign projectInformationFeign;
private QueryWrapper<ShStorehouse> createQueryWrapper(ShStorehouseQuery query) { private QueryWrapper<ShStorehouse> createQueryWrapper(ShStorehouseQuery query) {
// todo: 这里根据具体业务调整查询条件 // todo: 这里根据具体业务调整查询条件
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName())); // 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
@ -92,7 +98,7 @@ public class ShStorehouseService extends MybatisBaseService<ShStorehouseMapper,
PagerVo<ShStorehouseVo> p = PagerUtil.pageToVo(pagging, null); PagerVo<ShStorehouseVo> p = PagerUtil.pageToVo(pagging, null);
return p; return p;
} }
public List<ShStorehouseVo> selectSh(PagerQuery<ShStorehouseQuery> pq) { public List<ShStorehouseVo> selectSh() {
List<ShStorehouseVo> pagging = baseMapper.selectSh(); List<ShStorehouseVo> pagging = baseMapper.selectSh();
return pagging; return pagging;
} }
@ -137,6 +143,11 @@ public class ShStorehouseService extends MybatisBaseService<ShStorehouseMapper,
BeanUtil.copyProperties(shStorehouseAttachmentDetailsVo,picdto); BeanUtil.copyProperties(shStorehouseAttachmentDetailsVo,picdto);
shStorehouseAttachmentService.updateByDto(picdto); shStorehouseAttachmentService.updateByDto(picdto);
} }
StoreHouseProjectDto dto1=new StoreHouseProjectDto();
dto1.setShSid(entity.getSid());
dto1.setProjectSid(dto.getProjectSid());
//绑定项目
storeHouseProjectService.saveOrUpdateDto(dto1);
baseMapper.insert(entity); baseMapper.insert(entity);
} }
@ -183,6 +194,16 @@ public class ShStorehouseService extends MybatisBaseService<ShStorehouseMapper,
BeanUtil.copyProperties(shStorehouseAttachmentDetailsVo,picdto); BeanUtil.copyProperties(shStorehouseAttachmentDetailsVo,picdto);
shStorehouseAttachmentService.updateByDto(picdto); shStorehouseAttachmentService.updateByDto(picdto);
} }
//修改项目
StoreHouseProject storeHouseProject=storeHouseProjectService.getOne(new QueryWrapper<StoreHouseProject>().eq("sh_sid",dto.getSid()));
StoreHouseProjectDto dto1=new StoreHouseProjectDto();
if(null==storeHouseProject){
dto1.setShSid(entity.getSid());
dto1.setProjectSid(dto.getProjectSid());
}else{
BeanUtil.copyProperties(dto1, storeHouseProject, "id", "sid");
}
storeHouseProjectService.saveOrUpdateDto(dto1);
baseMapper.updateById(entity); baseMapper.updateById(entity);
} }
@ -193,6 +214,14 @@ public class ShStorehouseService extends MybatisBaseService<ShStorehouseMapper,
return null; return null;
List<ShStorehouseAttachmentVo> pics=shStorehouseAttachmentService.fetchDetailsVoByShSid(sid); List<ShStorehouseAttachmentVo> pics=shStorehouseAttachmentService.fetchDetailsVoByShSid(sid);
BeanUtil.copyProperties(entity, vo); BeanUtil.copyProperties(entity, vo);
StoreHouseProject s=storeHouseProjectService.getOne(new QueryWrapper<StoreHouseProject>().eq("sh_sid",sid));
if(null==s){
}else{
vo.setProjectSid(s.getProjectSid());
String r=projectInformationFeign.getProjectNameBySid(s.getProjectSid());
vo.setProjectName(r);
}
vo.setPics(pics); vo.setPics(pics);
return vo; return vo;
} }

6
warehousing-system/project/wh-manage/src/main/java/com/wh/service/storehouseproject/StoreHouseProjectService.java

@ -23,7 +23,7 @@ import java.util.*;
@Service @Service
public class StoreHouseProjectService extends MybatisBaseService<StoreHouseProjectMapper, StoreHouseProject> { public class StoreHouseProjectService extends MybatisBaseService<StoreHouseProjectMapper, StoreHouseProject> {
@Transactional @Transactional
public void saveOrUpdateDto(StoreHouseProjectDto dto){ public void saveOrUpdateDto(StoreHouseProjectDto dto) {
String dtoSid = dto.getSid(); String dtoSid = dto.getSid();
if (StringUtils.isBlank(dtoSid)) { if (StringUtils.isBlank(dtoSid)) {
@ -34,12 +34,12 @@ public class StoreHouseProjectService extends MybatisBaseService<StoreHouseProje
} }
public void insertByDto(StoreHouseProjectDto dto){ public void insertByDto(StoreHouseProjectDto dto) {
StoreHouseProject entity = new StoreHouseProject(); StoreHouseProject entity = new StoreHouseProject();
BeanUtil.copyProperties(dto, entity, "id", "sid"); BeanUtil.copyProperties(dto, entity, "id", "sid");
baseMapper.insert(entity); baseMapper.insert(entity);
} }
public void updateByDto(StoreHouseProjectDto dto){ public void updateByDto(StoreHouseProjectDto dto) {
String dtoSid = dto.getSid(); String dtoSid = dto.getSid();
if (StringUtils.isBlank(dtoSid)) { if (StringUtils.isBlank(dtoSid)) {
return; return;

2
warehousing-system/project/wh-manage/src/main/resources/mappers/ShStorehouseAttachmentMapper.xml

@ -8,6 +8,6 @@
</select> </select>
<select id="selectListAllVo" resultType="com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentVo"> <select id="selectListAllVo" resultType="com.wh.pojo.shstorehouseattachment.ShStorehouseAttachmentVo">
SELECT * FROM sh_storehouse_attachment <where> ${ew.sqlSegment} </where> SELECT *FROM sh_storehouse_attachment<where>${ew.sqlSegment} </where>
</select> </select>
</mapper> </mapper>

4
yxt_supervise/supervise-crm/supervise-crm-api/src/main/java/com/yxt/supervise/crm/api/storehouseproject/StoreHouseProjectDto.java

@ -11,6 +11,6 @@ import lombok.Data;
public class StoreHouseProjectDto implements Dto { public class StoreHouseProjectDto implements Dto {
private String id; private String id;
private String sid; private String sid;
private String shSid; private String shSid;//仓库sid
private String projectSid; private String projectSid;//项目sid
} }

3
yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationMapper.java

@ -8,6 +8,7 @@ import com.yxt.supervise.crm.api.projectinformation.ProjectInformation;
import com.yxt.supervise.crm.api.projectinformation.ProjectInformationVo; import com.yxt.supervise.crm.api.projectinformation.ProjectInformationVo;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -19,6 +20,8 @@ import java.util.Map;
@Mapper @Mapper
public interface ProjectInformationMapper extends BaseMapper<ProjectInformation> { public interface ProjectInformationMapper extends BaseMapper<ProjectInformation> {
IPage<ProjectInformationVo> selectPageVo(IPage<ProjectInformation> page, @Param(Constants.WRAPPER) Wrapper<ProjectInformation> qw); IPage<ProjectInformationVo> selectPageVo(IPage<ProjectInformation> page, @Param(Constants.WRAPPER) Wrapper<ProjectInformation> qw);
@Select("select * from project_information")
List<ProjectInformationVo> listAll();
ProjectInformationVo getProjectBySid( @Param("sid") String sid); ProjectInformationVo getProjectBySid( @Param("sid") String sid);
void insertFiles(List<Map<String, String>> maps); void insertFiles(List<Map<String, String>> maps);
} }

23
yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationRest.java

@ -1,12 +1,10 @@
package com.yxt.supervise.crm.biz.projectinformation; package com.yxt.supervise.crm.biz.projectinformation;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yxt.common.core.query.PagerQuery; import com.yxt.common.core.query.PagerQuery;
import com.yxt.common.core.result.ResultBean; import com.yxt.common.core.result.ResultBean;
import com.yxt.common.core.vo.PagerVo; import com.yxt.common.core.vo.PagerVo;
import com.yxt.supervise.crm.api.projectinformation.ProjectInformationDto; import com.yxt.supervise.crm.api.projectinformation.*;
import com.yxt.supervise.crm.api.projectinformation.ProjectInformationFeign;
import com.yxt.supervise.crm.api.projectinformation.ProjectInformationQuery;
import com.yxt.supervise.crm.api.projectinformation.ProjectInformationVo;
import com.yxt.supervise.crm.api.storehouseproject.StoreHouseProjectDto; import com.yxt.supervise.crm.api.storehouseproject.StoreHouseProjectDto;
import com.yxt.supervise.crm.feign.wh.ShStorehouseFeign; import com.yxt.supervise.crm.feign.wh.ShStorehouseFeign;
import com.yxt.supervise.crm.feign.wh.StoreHouseProjectFeign; import com.yxt.supervise.crm.feign.wh.StoreHouseProjectFeign;
@ -15,6 +13,8 @@ import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.util.List;
/** /**
* @author wangpengfei * @author wangpengfei
* @date 2023/4/12 17:10 * @date 2023/4/12 17:10
@ -37,7 +37,13 @@ public class ProjectInformationRest implements ProjectInformationFeign {
PagerVo<ProjectInformationVo> pv = ProjectInformationService.listPageVo(pq); PagerVo<ProjectInformationVo> pv = ProjectInformationService.listPageVo(pq);
return rb.success().setData(pv); return rb.success().setData(pv);
} }
@ApiOperation("根据条件分页查询数据的列表")
@GetMapping("/listAll")
public ResultBean<List<ProjectInformationVo>> listAll() {
ResultBean rb = ResultBean.fireFail();
List<ProjectInformationVo> list =ProjectInformationService.listAll();
return rb.success().setData(list);
}
@ApiOperation("保存") @ApiOperation("保存")
@PostMapping("/save") @PostMapping("/save")
public ResultBean save(@RequestBody ProjectInformationDto dto) { public ResultBean save(@RequestBody ProjectInformationDto dto) {
@ -63,6 +69,13 @@ public class ProjectInformationRest implements ProjectInformationFeign {
ResultBean r=shStorehouseFeign.getStorehouseBySid(sid); ResultBean r=shStorehouseFeign.getStorehouseBySid(sid);
return r; return r;
} }
@ApiOperation("根据sid查询项目名称")
@GetMapping("/getProjectNameBySid")
public String getProjectNameBySid (@RequestParam("sid")String sid){
String r=ProjectInformationService.getOne(new QueryWrapper<ProjectInformation>().eq("sid",sid)).getEntryName();
return r;
}
@ApiOperation("项目绑定或修改仓库") @ApiOperation("项目绑定或修改仓库")
@GetMapping("/saveOrUpdateDto") @GetMapping("/saveOrUpdateDto")
public ResultBean saveOrUpdateDto (@RequestBody StoreHouseProjectDto dto){ public ResultBean saveOrUpdateDto (@RequestBody StoreHouseProjectDto dto){

4
yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationService.java

@ -34,6 +34,10 @@ public class ProjectInformationService extends MybatisBaseService<ProjectInforma
PagerVo<ProjectInformationVo> p = PagerUtil.pageToVo(pagging, null); PagerVo<ProjectInformationVo> p = PagerUtil.pageToVo(pagging, null);
return p; return p;
} }
public List<ProjectInformationVo> listAll() {
List<ProjectInformationVo> pagging = baseMapper.listAll();
return pagging;
}
public ResultBean save(ProjectInformationDto dto) { public ResultBean save(ProjectInformationDto dto) {
ResultBean rb=new ResultBean(); ResultBean rb=new ResultBean();
ProjectInformation entity=new ProjectInformation(); ProjectInformation entity=new ProjectInformation();

2
yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/wh/ShStorehouseFeign.java → yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/feign/wh/ShStorehouseFeign.java

@ -1,4 +1,4 @@
package com.yxt.supervise.wh; package com.yxt.supervise.feign.wh;
import com.yxt.common.core.query.PagerQuery; import com.yxt.common.core.query.PagerQuery;
import com.yxt.common.core.result.ResultBean; import com.yxt.common.core.result.ResultBean;

2
yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/wh/ShStorehouseQuery.java → yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/feign/wh/ShStorehouseQuery.java

@ -23,7 +23,7 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
*********************************************************/ *********************************************************/
package com.yxt.supervise.wh; package com.yxt.supervise.feign.wh;
import com.yxt.common.core.query.Query; import com.yxt.common.core.query.Query;

15
yxt_supervise/supervise-system/supervise-system-biz/src/main/java/com/yxt/supervise/system/flow/FlowableRest.java

@ -25,32 +25,21 @@
*********************************************************/ *********************************************************/
package com.yxt.supervise.system.flow; package com.yxt.supervise.system.flow;
import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxt.anrui.flowable.api.processcomment.ProcessCommentFeign;
import com.yxt.anrui.flowable.api.processcomment.ProcessCommentVo;
import com.yxt.common.base.utils.StringUtils;
import com.yxt.common.core.query.PagerQuery; import com.yxt.common.core.query.PagerQuery;
import com.yxt.common.core.result.ResultBean; import com.yxt.common.core.result.ResultBean;
import com.yxt.common.core.vo.PagerVo;
import com.yxt.supervise.system.flow.app.FlowTaskDoQuery;
import com.yxt.supervise.system.flow.app.FlowTaskDoVo;
import com.yxt.supervise.system.flow.app.FlowTaskFinishVo;
import com.yxt.supervise.system.sysstafforg.SysStaffOrgService; import com.yxt.supervise.system.sysstafforg.SysStaffOrgService;
import com.yxt.supervise.system.sysstafforg.SysStaffOrgVo; import com.yxt.supervise.system.sysstafforg.SysStaffOrgVo;
import com.yxt.supervise.system.sysuser.SysUser; import com.yxt.supervise.system.sysuser.SysUser;
import com.yxt.supervise.system.sysuser.SysUserService; import com.yxt.supervise.system.sysuser.SysUserService;
import com.yxt.supervise.wh.ShStorehouseFeign; import com.yxt.supervise.feign.wh.ShStorehouseFeign;
import com.yxt.supervise.wh.ShStorehouseQuery; import com.yxt.supervise.feign.wh.ShStorehouseQuery;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map;
/** /**
* Project: anrui-parent <br/> * Project: anrui-parent <br/>

Loading…
Cancel
Save