Merge remote-tracking branch 'origin/master'

master
郑明梁 2 years ago
commit 70318b9994

@ -137,7 +137,7 @@ public class BasicBussinessTypeController {
* @param files
* @return
*/
@PostMapping("/udiwms/busstiness/file/upload")
@PostMapping("/udiwms/bussinessType/file/upload")
public BaseResponse uploadProducts(@RequestParam("file") List<MultipartFile> files) {
for (int i = 0; i < files.size(); i++) {
MultipartFile file = files.get(i);
@ -166,7 +166,7 @@ public class BasicBussinessTypeController {
*
* @param res
*/
@PostMapping("udiwms/busstiness/file/export")
@PostMapping("udiwms/bussinessType/file/export")
public void exportXml(HttpServletResponse res) {
FilterBussinessTypeRequest bussinessTypeFilterRequest = new FilterBussinessTypeRequest();
bussinessTypeFilterRequest.setEnable(true);
@ -193,14 +193,14 @@ public class BasicBussinessTypeController {
*
* @return
*/
@GetMapping("/warehouse/bussinessType/candidateBussinessType")
public BaseResponse candidateBussinessType(CandidateRequest cndidateRequest) {
if (StrUtil.isBlank(cndidateRequest.getMainAction())) {
@GetMapping("/udiwms/bussinessType/candidateBusType")
public BaseResponse candidateBussinessType(CandidateRequest candidateRequest) {
if (StrUtil.isBlank(candidateRequest.getMainAction())) {
return ResultVOUtils.error(ResultEnum.DATA_ERROR);
}
List<BasicBussinessTypeEntity> bussinessTypeEntities = basicBussinessTypeService.candidateBussinessType(cndidateRequest.getMainAction());
if (StrUtil.isNotBlank(cndidateRequest.getCurAction())) {
BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction(cndidateRequest.getCurAction());
List<BasicBussinessTypeEntity> bussinessTypeEntities = basicBussinessTypeService.candidateBussinessType(candidateRequest.getMainAction());
if (StrUtil.isNotBlank(candidateRequest.getCurAction())) {
BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction(candidateRequest.getCurAction());
bussinessTypeEntities.add(bussinessTypeEntity);
}
//查询补单单据类型

@ -36,7 +36,7 @@ public class BasicBussinessTypeEntity {
private String name;
/**
*
* , 0 1
*/
private Boolean enable;

@ -12,7 +12,7 @@ import java.util.List;
public class FilterBussinessTypeRequest extends ListPageRequest {
/**
*
* , 0 1
*/
private Boolean enable;

@ -8,16 +8,30 @@ import lombok.Data;
@Data
public class BasicBussinessTypeResponse {
/**
* ID
*/
private Integer id;
/**
*
*/
private String action;
/**
*
*/
private String name;
/**
*
*/
private Boolean enable;
private String remark;
private String mainAction;
private String thirdSysFk;
private String thirdId;
private String thirdName;
private Boolean enabled;
/**
*

Loading…
Cancel
Save