|
|
|
@ -23,7 +23,6 @@ import java.net.URLEncoder;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
import java.time.format.DateTimeFormatter;
|
|
|
|
import java.time.format.DateTimeFormatter;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Api(value = "Stock", tags = "库存管理")
|
|
|
|
@Api(value = "Stock", tags = "库存管理")
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|
@ -140,7 +139,14 @@ public class StockController {
|
|
|
|
validatorUtil.validate(checkByMan);
|
|
|
|
validatorUtil.validate(checkByMan);
|
|
|
|
return Result.success(stockService.checkByMan(checkByMan));
|
|
|
|
return Result.success(stockService.checkByMan(checkByMan));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//allStockChack 全部盘点
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "全部盘点")
|
|
|
|
|
|
|
|
@RequestMapping(value = "/allStockCheck", method = RequestMethod.POST)
|
|
|
|
|
|
|
|
public Result allStockCheck() {
|
|
|
|
|
|
|
|
stockService.allStockCheck();
|
|
|
|
|
|
|
|
return Result.success();
|
|
|
|
|
|
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
String s = "4";
|
|
|
|
String s = "4";
|
|
|
|
String ss = String.format("%03d", 4);
|
|
|
|
String ss = String.format("%03d", 4);
|
|
|
|
|