|
@@ -8,7 +8,6 @@ import com.ruoyi.ams.locationView.domain.vo.LocationViewVO;
|
|
|
import com.ruoyi.ams.locationView.service.LocationViewService;
|
|
|
import com.ruoyi.base.constant.Constant;
|
|
|
import com.ruoyi.base.domain.BaseLocationZone;
|
|
|
-import com.ruoyi.base.domain.BaseWarehouse;
|
|
|
import com.ruoyi.base.domain.dto.BasLocationGuiExtDTO;
|
|
|
import com.ruoyi.base.service.IBaseLocationZoneService;
|
|
|
import com.ruoyi.common.annotation.Log;
|
|
@@ -60,19 +59,19 @@ public class LocationViewSafeController extends BaseController {
|
|
|
@GetMapping(value = "/lockLoc/{id}")
|
|
|
public AjaxResult lockLoc(@PathVariable("id") Long id) {
|
|
|
return invLotLocIdService.adjLocationStockStatus(id.toString(), Constant.WAREHOUSE_ID
|
|
|
- , logger.getName());
|
|
|
+ , getUsername());
|
|
|
}
|
|
|
|
|
|
@Log(title = "库位库存清除", businessType = BusinessType.CLEAN)
|
|
|
@GetMapping(value = "/clearLoc/{id}")
|
|
|
public AjaxResult clearLoc(@PathVariable("id") Long id) {
|
|
|
- return invLotLocIdService.clear(id.toString(),Constant.WAREHOUSE_ID, logger.getName());
|
|
|
+ return invLotLocIdService.clear(id.toString(),Constant.WAREHOUSE_ID, getUsername());
|
|
|
}
|
|
|
|
|
|
@Log(title = "库存有货状态调整", businessType = BusinessType.CLEAN)
|
|
|
@GetMapping(value = "/setIsEmpty/{id}")
|
|
|
public AjaxResult adjLocationIsEmpty(@PathVariable("id") Long id) {
|
|
|
- return invLotLocIdService.adjLocationIsEmpty(id.toString(), Constant.WAREHOUSE_ID, logger.getName());
|
|
|
+ return invLotLocIdService.adjLocationIsEmpty(id.toString(), Constant.WAREHOUSE_ID, getUsername());
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "/locationLotatt/{locationId}")
|