|
|
@ -16,10 +16,7 @@ import com.glxp.api.entity.inv.InvProductEntity;
|
|
|
|
import com.glxp.api.entity.system.SystemParamConfigEntity;
|
|
|
|
import com.glxp.api.entity.system.SystemParamConfigEntity;
|
|
|
|
import com.glxp.api.entity.thrsys.ThrProductsEntity;
|
|
|
|
import com.glxp.api.entity.thrsys.ThrProductsEntity;
|
|
|
|
import com.glxp.api.entity.thrsys.ThrSystemEntity;
|
|
|
|
import com.glxp.api.entity.thrsys.ThrSystemEntity;
|
|
|
|
import com.glxp.api.req.basic.UdiCombineRequest;
|
|
|
|
import com.glxp.api.req.basic.*;
|
|
|
|
import com.glxp.api.req.basic.FilterUdiRelRequest;
|
|
|
|
|
|
|
|
import com.glxp.api.req.basic.LockUdiRequest;
|
|
|
|
|
|
|
|
import com.glxp.api.req.basic.UdiRelevanceSaveRequest;
|
|
|
|
|
|
|
|
import com.glxp.api.req.system.DeleteRequest;
|
|
|
|
import com.glxp.api.req.system.DeleteRequest;
|
|
|
|
import com.glxp.api.req.thrsys.FilterBasicThirdSysRequest;
|
|
|
|
import com.glxp.api.req.thrsys.FilterBasicThirdSysRequest;
|
|
|
|
import com.glxp.api.res.PageSimpleResponse;
|
|
|
|
import com.glxp.api.res.PageSimpleResponse;
|
|
|
@ -52,8 +49,6 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|
public class UdiRelevanceController extends BaseController {
|
|
|
|
public class UdiRelevanceController extends BaseController {
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
GennerOrderUtils gennerOrderUtils;
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
UdiRelevanceService udiRelevanceService;
|
|
|
|
UdiRelevanceService udiRelevanceService;
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
@ -70,6 +65,8 @@ public class UdiRelevanceController extends BaseController {
|
|
|
|
ThrDataService thrDataService;
|
|
|
|
ThrDataService thrDataService;
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
UdiRlSupService udiRlSupService;
|
|
|
|
UdiRlSupService udiRlSupService;
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
ProductInfoService productInfoService;
|
|
|
|
|
|
|
|
|
|
|
|
//手持终端下载UDI产品信息
|
|
|
|
//手持终端下载UDI产品信息
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
@ -698,4 +695,16 @@ public class UdiRelevanceController extends BaseController {
|
|
|
|
return ResultVOUtils.success(ggxhList);
|
|
|
|
return ResultVOUtils.success(ggxhList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//国家库uuid获取产品
|
|
|
|
|
|
|
|
@PostMapping("/udi/udirel/selectOriginuuid")
|
|
|
|
|
|
|
|
@Log(title = "单据管理", businessType = BusinessType.INSERT)
|
|
|
|
|
|
|
|
public BaseResponse selectOriginuuid(@RequestBody ProductInfoFilterRequest productInfoFilterRequest, BindingResult bindingResult) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
List<ProductInfoEntity> udiProductEntities = productInfoService.findAll(productInfoFilterRequest);
|
|
|
|
|
|
|
|
return ResultVOUtils.success(udiProductEntities);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|