|
|
@ -1,7 +1,6 @@
|
|
|
|
package com.glxp.sale.admin.controller.sync;
|
|
|
|
package com.glxp.sale.admin.controller.sync;
|
|
|
|
|
|
|
|
|
|
|
|
import com.glxp.sale.admin.constant.BasicProcessStatus;
|
|
|
|
import com.glxp.sale.admin.constant.BasicProcessStatus;
|
|
|
|
import com.glxp.sale.admin.entity.param.SystemParamConfigEntity;
|
|
|
|
|
|
|
|
import com.glxp.sale.admin.entity.sync.*;
|
|
|
|
import com.glxp.sale.admin.entity.sync.*;
|
|
|
|
import com.glxp.sale.admin.http.PostSmpHttp;
|
|
|
|
import com.glxp.sale.admin.http.PostSmpHttp;
|
|
|
|
import com.glxp.sale.admin.req.sync.*;
|
|
|
|
import com.glxp.sale.admin.req.sync.*;
|
|
|
@ -16,14 +15,12 @@ import com.glxp.sale.common.res.BaseResponse;
|
|
|
|
import com.glxp.sale.common.util.ResultVOUtils;
|
|
|
|
import com.glxp.sale.common.util.ResultVOUtils;
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
import java.util.stream.Collectors;
|
|
|
@ -182,5 +179,21 @@ public class UdiwmsPostDirectController {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* UDI管理系统同步单据上传状态到自助平台
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param postThirdSysUploadInfo
|
|
|
|
|
|
|
|
* @param bindingResult
|
|
|
|
|
|
|
|
* @return
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@PostMapping("/udisp/sync/postOrderUploadInfo")
|
|
|
|
|
|
|
|
public BaseResponse postOrderUploadInfo(@RequestBody PostThirdSysUploadInfo postThirdSysUploadInfo, BindingResult bindingResult) {
|
|
|
|
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
BaseResponse baseResponse = postSmpHttp.postOrderUploadInfo(postThirdSysUploadInfo);
|
|
|
|
|
|
|
|
return baseResponse;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|