修改接口新增修改人

master
maxw@mesnac.com 1 week ago
parent ff7b0e4c43
commit 4b02b3f775

@ -103,7 +103,11 @@ public class WmsAllocateOrderDetailController extends BaseController {
@PathVariable Long[] aoDIds) {
return toAjax(wmsAllocateOrderDetailService.deleteWithValidByIds(List.of(aoDIds), true));
}
/**
*
*
* @param aoDId
*/
@SaCheckPermission("system:allocateOrderDetail:remove")
@Log(title = "调拨子", businessType = BusinessType.DELETE)
@DeleteMapping("removeDetail/{aoDId}")
@ -111,7 +115,11 @@ public class WmsAllocateOrderDetailController extends BaseController {
@PathVariable Long aoDId) {
return toAjax(wmsAllocateOrderDetailService.deleteById(aoDId));
}
/**
*
*
* @param aoDId
*/
@GetMapping("selectAllocateDetails")
public R<List<WmsAllocateOrderDetailVo>> selectAllocateDetails(Long aoDId){
return R.ok(wmsAllocateOrderDetailService.selectAllocateDetails());

@ -175,7 +175,8 @@ public class WmsInventoryServiceImpl implements IWmsInventoryService {
MPJLambdaWrapper<WmsInventory> lqw = new MPJLambdaWrapper<>();
lqw.selectAll(WmsInventory.class).select(BaseMaterialInfo::getMaterialCode)
.leftJoin(BaseMaterialInfo.class,BaseMaterialInfo::getMaterialId,WmsInventory::getMaterialId);
lqw.eq(WmsInventory::getLocationCode,bo.getLocationCode());
lqw.eq(WmsInventory::getLocationCode,bo.getLocationCode())
.eq(WmsInventory::getMaterialCategories,bo.getMaterialCategories());
return baseMapper.selectVoList(lqw);
}

Loading…
Cancel
Save