Commit a9885f4d by liyanlin

半成品库存流水

parent 2691ea71
......@@ -64,4 +64,20 @@ public interface MjzzApi {
@GetMapping("/api/ProdStockPage")
MjzzResult<MjzzPage<ProdStockPageResp>> prodStockPage(@RequestParam("page") Integer page,
@RequestParam("rows") Integer rows);
/**
* <p>
* 半成品库存流水
* </p>
* @param page
* @param rows
* @param btime
* @param etime
* @return
*/
@GetMapping("/api/StockLog")
MjzzResult<MjzzPage<StockLogResp>> stockLog(@RequestParam("page") Integer page,
@RequestParam("rows") Integer rows,
@RequestParam("btime") String btime,
@RequestParam("etime") String etime);
}
package com.bailuntec.api.bailuntec.mj.resp;
import com.alibaba.fastjson.annotation.JSONField;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Author: li.yanlin
* @Description: 半成品库存流水
* @Date: Created in 11:07 2021-03-29
* @Modified by:
*/
public class StockLogResp {
@JSONField(name = "log_id")
private Integer logId;
@JSONField(name = "sku")
private String skuCode;
@JSONField(name = "sku_name")
private String skuName;
@JSONField(name = "log_type_id")
private Integer logTypeId;
@JSONField(name = "log_type")
private String logType;
@JSONField(name = "log_quantity")
private Integer logQuantity;
@JSONField(name = "final_stock")
private BigDecimal finalStock;
@JSONField(name = "warehouse_id")
private Integer warehouseId;
@JSONField(name = "warehouse_name")
private String warehouseName;
@JSONField(name = "create_time", format = "yyyy-MM-dd")
private Date createTime;
@JSONField(name = "redundancy_stock")
private BigDecimal redundancyStock;
@JSONField(name = "warehouse_type")
private Integer warehouseType;
@JSONField(name = "type_id")
private Integer typeId;
@JSONField(name = "type_name")
private String typeName;
@JSONField(name = "product_category_id")
private Integer productCategoryId;
@JSONField(name = "product_category_id_name")
private String productCategoryName;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment