diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StocklistController.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StocklistController.java deleted file mode 100644 index c07d6446..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StocklistController.java +++ /dev/null @@ -1,125 +0,0 @@ -package com.ruoyi.stock.controller; - -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.stock.domain.Stocklist; -import com.ruoyi.stock.service.IStocklistService; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; - -import java.util.List; - -/** - * 库存信息Controller - * - * @author sunzhenhu - * @date 2021-09-07 - */ -@Controller -@RequestMapping("/stock/stocklist") -public class StocklistController extends BaseController -{ - private String prefix = "stock/stocklist"; - - @Autowired - private IStocklistService stocklistService; - - @RequiresPermissions("stock:stocklist:view") - @GetMapping() - public String stocklist() - { - return prefix + "/stocklist"; - } - - /** - * 查询库存信息列表 - */ - @RequiresPermissions("stock:stocklist:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(Stocklist stocklist) - { - List list; - startPage(); - if (!stocklist.getYm().equals("")||!stocklist.getMachineNo().equals("")||!stocklist.getWlCode().equals("")||!stocklist.getItemname().equals("")){ - //有参数查询 - list=stocklistService.selectStocklistSearch(stocklist); - - }else { - //无参数查询 - list = stocklistService.selectStocklistList(stocklist); - - - } - return getDataTable(list); - } - - /** - * 导出库存信息列表 - *-- - @RequiresPermissions("stock:stocklist:export") - @Log(title = "库存信息", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(Stocklist stocklist) - { - List list = stocklistService.selectStocklistSearch(stocklist); - ExcelUtil util = new ExcelUtil(Stocklist.class); - return util.exportExcel(list, "库存信息数据"); - } - - /** - * 新增库存信息 - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存库存信息 - */ - @RequiresPermissions("stock:stocklist:add") - @Log(title = "库存信息", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(Stocklist stocklist) - { - return toAjax(stocklistService.insertStocklist(stocklist)); - } - - - - /** - * 修改保存库存信息 - */ - @RequiresPermissions("stock:stocklist:edit") - @Log(title = "库存信息", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(Stocklist stocklist) - { - return toAjax(stocklistService.updateStocklist(stocklist)); - } - - /** - * 删除库存信息 - */ - @RequiresPermissions("stock:stocklist:remove") - @Log(title = "库存信息", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(stocklistService.deleteStocklistByIds(ids)); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/Stocklist.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/Stocklist.java deleted file mode 100644 index 63eb68b7..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/Stocklist.java +++ /dev/null @@ -1,739 +0,0 @@ -package com.ruoyi.stock.domain; - -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.core.domain.BaseEntity; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; - -import java.math.BigDecimal; - -/** - * 库存信息对象 stocklist - * - * @author sunzhenhu - * @date 2021-09-07 - */ -public class Stocklist extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 日期 */ - @Excel(name = "日期") - private String ym; - - /** 区域 */ - @Excel(name = "区域") - private String stockno; - - /** 料号 */ - @Excel(name = "料号") - private String wlCode; - - /** */ - private String hsCode; - - /** 名称 */ - @Excel(name = "名称") - private String Itemname; - - /** */ - private String enName; - - /** 详情 */ - @Excel(name = "详情") - private String Itemstandard; - - /** 机种号码 */ - @Excel(name = "机种号码") - private String machineNo; - - /** 单位 */ - @Excel(name = "单位") - private String stockDw; - - /** 批次 */ - private String poPiNo; - - /** */ - private BigDecimal lastQty; - - /** */ - private BigDecimal lastJuan; - - /** */ - private BigDecimal lastWeight; - - /** */ - private BigDecimal lastPrice; - - /** */ - private BigDecimal lastAmt; - - /** */ - private BigDecimal inputQty; - - /** */ - private BigDecimal inputJuan; - - /** */ - private BigDecimal inputWeight; - - /** */ - private BigDecimal inputPrice; - - /** */ - private BigDecimal inputAmt; - - /** */ - private BigDecimal outputQty; - - /** */ - private BigDecimal outputJuan; - - /** */ - private BigDecimal outputWeight; - - /** */ - private BigDecimal outputPrice; - - /** */ - private BigDecimal outputAmt; - - /** */ - private BigDecimal justQty; - - /** */ - private BigDecimal justJuan; - - /** */ - private BigDecimal justAmt; - - /** */ - private BigDecimal justWeight; - - /** 当前数量 */ - @Excel(name = "当前数量") - private BigDecimal nowQty; - - /** */ - private BigDecimal nowJuan; - - /** */ - private BigDecimal nowWeight; - - /** */ - private BigDecimal nowPrice; - - /** */ - private BigDecimal nowAmt; - - /** */ - private BigDecimal workorderQty; - - /** */ - private BigDecimal canuseQty; - - /** */ - private BigDecimal safetyStockNum; - - /** */ - private BigDecimal topStockNum; - - /** 类型 */ - @Excel(name = "类型") - private String Itemclass; - - /** */ - private String Inclass; - - /** */ - private String defaultPosition; - - /** 料号 */ - @Excel(name = "料号") - private String wldm; - - /** */ - private String PCODE; - - /** */ - private BigDecimal justPrice; - - /** */ - private String stateName; - - /** */ - private String crlName; - - /** */ - private String PNAME; - - /** */ - private BigDecimal juanM2; - - /** */ - private BigDecimal m2Price; - - /** */ - private BigDecimal nowM2Amt; - - /** */ - private String baseCode; - - /** */ - private String stockname; - - /** 机种号码 */ - @Excel(name = "机种号码") - private String pWldm; - - /** */ - private Long ID; - - public void setYm(String ym) - { - this.ym = ym; - } - - public String getYm() - { - return ym; - } - public void setStockno(String stockno) - { - this.stockno = stockno; - } - - public String getStockno() - { - return stockno; - } - public void setWlCode(String wlCode) - { - this.wlCode = wlCode; - } - - public String getWlCode() - { - return wlCode; - } - public void setHsCode(String hsCode) - { - this.hsCode = hsCode; - } - - public String getHsCode() - { - return hsCode; - } - public void setItemname(String Itemname) - { - this.Itemname = Itemname; - } - - public String getItemname() - { - return Itemname; - } - public void setEnName(String enName) - { - this.enName = enName; - } - - public String getEnName() - { - return enName; - } - public void setItemstandard(String Itemstandard) - { - this.Itemstandard = Itemstandard; - } - - public String getItemstandard() - { - return Itemstandard; - } - public void setMachineNo(String machineNo) - { - this.machineNo = machineNo; - } - - public String getMachineNo() - { - return machineNo; - } - public void setStockDw(String stockDw) - { - this.stockDw = stockDw; - } - - public String getStockDw() - { - return stockDw; - } - public void setPoPiNo(String poPiNo) - { - this.poPiNo = poPiNo; - } - - public String getPoPiNo() - { - return poPiNo; - } - public void setLastQty(BigDecimal lastQty) - { - this.lastQty = lastQty; - } - - public BigDecimal getLastQty() - { - return lastQty; - } - public void setLastJuan(BigDecimal lastJuan) - { - this.lastJuan = lastJuan; - } - - public BigDecimal getLastJuan() - { - return lastJuan; - } - public void setLastWeight(BigDecimal lastWeight) - { - this.lastWeight = lastWeight; - } - - public BigDecimal getLastWeight() - { - return lastWeight; - } - public void setLastPrice(BigDecimal lastPrice) - { - this.lastPrice = lastPrice; - } - - public BigDecimal getLastPrice() - { - return lastPrice; - } - public void setLastAmt(BigDecimal lastAmt) - { - this.lastAmt = lastAmt; - } - - public BigDecimal getLastAmt() - { - return lastAmt; - } - public void setInputQty(BigDecimal inputQty) - { - this.inputQty = inputQty; - } - - public BigDecimal getInputQty() - { - return inputQty; - } - public void setInputJuan(BigDecimal inputJuan) - { - this.inputJuan = inputJuan; - } - - public BigDecimal getInputJuan() - { - return inputJuan; - } - public void setInputWeight(BigDecimal inputWeight) - { - this.inputWeight = inputWeight; - } - - public BigDecimal getInputWeight() - { - return inputWeight; - } - public void setInputPrice(BigDecimal inputPrice) - { - this.inputPrice = inputPrice; - } - - public BigDecimal getInputPrice() - { - return inputPrice; - } - public void setInputAmt(BigDecimal inputAmt) - { - this.inputAmt = inputAmt; - } - - public BigDecimal getInputAmt() - { - return inputAmt; - } - public void setOutputQty(BigDecimal outputQty) - { - this.outputQty = outputQty; - } - - public BigDecimal getOutputQty() - { - return outputQty; - } - public void setOutputJuan(BigDecimal outputJuan) - { - this.outputJuan = outputJuan; - } - - public BigDecimal getOutputJuan() - { - return outputJuan; - } - public void setOutputWeight(BigDecimal outputWeight) - { - this.outputWeight = outputWeight; - } - - public BigDecimal getOutputWeight() - { - return outputWeight; - } - public void setOutputPrice(BigDecimal outputPrice) - { - this.outputPrice = outputPrice; - } - - public BigDecimal getOutputPrice() - { - return outputPrice; - } - public void setOutputAmt(BigDecimal outputAmt) - { - this.outputAmt = outputAmt; - } - - public BigDecimal getOutputAmt() - { - return outputAmt; - } - public void setJustQty(BigDecimal justQty) - { - this.justQty = justQty; - } - - public BigDecimal getJustQty() - { - return justQty; - } - public void setJustJuan(BigDecimal justJuan) - { - this.justJuan = justJuan; - } - - public BigDecimal getJustJuan() - { - return justJuan; - } - public void setJustAmt(BigDecimal justAmt) - { - this.justAmt = justAmt; - } - - public BigDecimal getJustAmt() - { - return justAmt; - } - public void setJustWeight(BigDecimal justWeight) - { - this.justWeight = justWeight; - } - - public BigDecimal getJustWeight() - { - return justWeight; - } - public void setNowQty(BigDecimal nowQty) - { - this.nowQty = nowQty; - } - - public BigDecimal getNowQty() - { - return nowQty; - } - public void setNowJuan(BigDecimal nowJuan) - { - this.nowJuan = nowJuan; - } - - public BigDecimal getNowJuan() - { - return nowJuan; - } - public void setNowWeight(BigDecimal nowWeight) - { - this.nowWeight = nowWeight; - } - - public BigDecimal getNowWeight() - { - return nowWeight; - } - public void setNowPrice(BigDecimal nowPrice) - { - this.nowPrice = nowPrice; - } - - public BigDecimal getNowPrice() - { - return nowPrice; - } - public void setNowAmt(BigDecimal nowAmt) - { - this.nowAmt = nowAmt; - } - - public BigDecimal getNowAmt() - { - return nowAmt; - } - public void setWorkorderQty(BigDecimal workorderQty) - { - this.workorderQty = workorderQty; - } - - public BigDecimal getWorkorderQty() - { - return workorderQty; - } - public void setCanuseQty(BigDecimal canuseQty) - { - this.canuseQty = canuseQty; - } - - public BigDecimal getCanuseQty() - { - return canuseQty; - } - public void setSafetyStockNum(BigDecimal safetyStockNum) - { - this.safetyStockNum = safetyStockNum; - } - - public BigDecimal getSafetyStockNum() - { - return safetyStockNum; - } - public void setTopStockNum(BigDecimal topStockNum) - { - this.topStockNum = topStockNum; - } - - public BigDecimal getTopStockNum() - { - return topStockNum; - } - public void setItemclass(String Itemclass) - { - this.Itemclass = Itemclass; - } - - public String getItemclass() - { - return Itemclass; - } - public void setInclass(String Inclass) - { - this.Inclass = Inclass; - } - - public String getInclass() - { - return Inclass; - } - public void setDefaultPosition(String defaultPosition) - { - this.defaultPosition = defaultPosition; - } - - public String getDefaultPosition() - { - return defaultPosition; - } - public void setWldm(String wldm) - { - this.wldm = wldm; - } - - public String getWldm() - { - return wldm; - } - public void setPCODE(String PCODE) - { - this.PCODE = PCODE; - } - - public String getPCODE() - { - return PCODE; - } - public void setJustPrice(BigDecimal justPrice) - { - this.justPrice = justPrice; - } - - public BigDecimal getJustPrice() - { - return justPrice; - } - public void setStateName(String stateName) - { - this.stateName = stateName; - } - - public String getStateName() - { - return stateName; - } - public void setCrlName(String crlName) - { - this.crlName = crlName; - } - - public String getCrlName() - { - return crlName; - } - public void setPNAME(String PNAME) - { - this.PNAME = PNAME; - } - - public String getPNAME() - { - return PNAME; - } - public void setJuanM2(BigDecimal juanM2) - { - this.juanM2 = juanM2; - } - - public BigDecimal getJuanM2() - { - return juanM2; - } - public void setM2Price(BigDecimal m2Price) - { - this.m2Price = m2Price; - } - - public BigDecimal getM2Price() - { - return m2Price; - } - public void setNowM2Amt(BigDecimal nowM2Amt) - { - this.nowM2Amt = nowM2Amt; - } - - public BigDecimal getNowM2Amt() - { - return nowM2Amt; - } - public void setBaseCode(String baseCode) - { - this.baseCode = baseCode; - } - - public String getBaseCode() - { - return baseCode; - } - public void setStockname(String stockname) - { - this.stockname = stockname; - } - - public String getStockname() - { - return stockname; - } - public void setpWldm(String pWldm) - { - this.pWldm = pWldm; - } - - public String getpWldm() - { - return pWldm; - } - public void setID(Long ID) - { - this.ID = ID; - } - - public Long getID() - { - return ID; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("ym", getYm()) - .append("stockno", getStockno()) - .append("wlCode", getWlCode()) - .append("hsCode", getHsCode()) - .append("Itemname", getItemname()) - .append("enName", getEnName()) - .append("Itemstandard", getItemstandard()) - .append("machineNo", getMachineNo()) - .append("stockDw", getStockDw()) - .append("poPiNo", getPoPiNo()) - .append("lastQty", getLastQty()) - .append("lastJuan", getLastJuan()) - .append("lastWeight", getLastWeight()) - .append("lastPrice", getLastPrice()) - .append("lastAmt", getLastAmt()) - .append("inputQty", getInputQty()) - .append("inputJuan", getInputJuan()) - .append("inputWeight", getInputWeight()) - .append("inputPrice", getInputPrice()) - .append("inputAmt", getInputAmt()) - .append("outputQty", getOutputQty()) - .append("outputJuan", getOutputJuan()) - .append("outputWeight", getOutputWeight()) - .append("outputPrice", getOutputPrice()) - .append("outputAmt", getOutputAmt()) - .append("justQty", getJustQty()) - .append("justJuan", getJustJuan()) - .append("justAmt", getJustAmt()) - .append("justWeight", getJustWeight()) - .append("nowQty", getNowQty()) - .append("nowJuan", getNowJuan()) - .append("nowWeight", getNowWeight()) - .append("nowPrice", getNowPrice()) - .append("nowAmt", getNowAmt()) - .append("workorderQty", getWorkorderQty()) - .append("canuseQty", getCanuseQty()) - .append("safetyStockNum", getSafetyStockNum()) - .append("topStockNum", getTopStockNum()) - .append("Itemclass", getItemclass()) - .append("Inclass", getInclass()) - .append("defaultPosition", getDefaultPosition()) - .append("wldm", getWldm()) - .append("PCODE", getPCODE()) - .append("justPrice", getJustPrice()) - .append("stateName", getStateName()) - .append("crlName", getCrlName()) - .append("PNAME", getPNAME()) - .append("juanM2", getJuanM2()) - .append("m2Price", getM2Price()) - .append("nowM2Amt", getNowM2Amt()) - .append("baseCode", getBaseCode()) - .append("stockname", getStockname()) - .append("pWldm", getpWldm()) - .append("ID", getID()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/mapper/StocklistMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/mapper/StocklistMapper.java deleted file mode 100644 index 13113473..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/mapper/StocklistMapper.java +++ /dev/null @@ -1,70 +0,0 @@ -package com.ruoyi.stock.mapper; - -import com.ruoyi.stock.domain.Stocklist; - -import java.util.List; - -/** - * 库存信息Mapper接口 - * - * @author sunzhenhu - * @date 2021-09-07 - */ -public interface StocklistMapper -{ - /** - * 查询库存信息 - * - * @param ym 库存信息ID - * @return 库存信息 - */ - public Stocklist selectStocklistById(String ym); - - /** - * 加载库存信息列表 - * - * @param stocklist 库存信息 - * @return 库存信息集合 - */ - public List selectStocklistList(Stocklist stocklist); - - - /** - * 查询库存信息列表 - * - * @param stocklist 库存信息 - * @return 库存信息集合 - */ - public List selectStocklistSearch(Stocklist stocklist); - /** - * 新增库存信息 - * - * @param stocklist 库存信息 - * @return 结果 - */ - public int insertStocklist(Stocklist stocklist); - - /** - * 修改库存信息 - * - * @param stocklist 库存信息 - * @return 结果 - */ - public int updateStocklist(Stocklist stocklist); - - /** - * 删除库存信息 - * - * @param ym 库存信息ID - * @return 结果 - */ - public int deleteStocklistById(String ym); - - /** - * 批量删除库存信息 - * - * @param yms 需要删除的数据ID - * @return 结果 - */ - public int deleteStocklistByIds(String[] yms); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/IStocklistService.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/service/IStocklistService.java deleted file mode 100644 index d193e99a..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/IStocklistService.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.ruoyi.stock.service; - -import com.ruoyi.stock.domain.Stocklist; - -import java.util.List; - -/** - * 库存信息Service接口 - * - * @author sunzhenhu - * @date 2021-09-07 - */ -public interface IStocklistService -{ - /** - * 查询库存信息 - * - * @param ym 库存信息ID - * @return 库存信息 - */ - public Stocklist selectStocklistById(String ym); - - /** - * 加载库存信息列表 - * - * @param stocklist 库存信息 - * @return 库存信息集合 - */ - public List selectStocklistList(Stocklist stocklist); - - - /** - * 查询库存信息列表 - * - * @param stocklist 库存信息 - * @return 库存信息集合 - */ - public List selectStocklistSearch(Stocklist stocklist); - - /** - * 新增库存信息 - * - * @param stocklist 库存信息 - * @return 结果 - */ - public int insertStocklist(Stocklist stocklist); - - /** - * 修改库存信息 - * - * @param stocklist 库存信息 - * @return 结果 - */ - public int updateStocklist(Stocklist stocklist); - - /** - * 批量删除库存信息 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteStocklistByIds(String ids); - - /** - * 删除库存信息信息 - * - * @param ym 库存信息ID - * @return 结果 - */ - public int deleteStocklistById(String ym); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/impl/StocklistServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/service/impl/StocklistServiceImpl.java deleted file mode 100644 index 67bd1a0b..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/impl/StocklistServiceImpl.java +++ /dev/null @@ -1,100 +0,0 @@ -package com.ruoyi.stock.service.impl; - -import com.ruoyi.common.core.text.Convert; -import com.ruoyi.stock.domain.Stocklist; -import com.ruoyi.stock.mapper.StocklistMapper; -import com.ruoyi.stock.service.IStocklistService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.util.List; - -/** - * 库存信息Service业务层处理 - * - * @author sunzhenhu - * @date 2021-09-07 - */ -@Service -public class StocklistServiceImpl implements IStocklistService -{ - @Autowired - private StocklistMapper stocklistMapper; - - /** - * 查询库存信息 - * - * @param ym 库存信息ID - * @return 库存信息 - */ - @Override - public Stocklist selectStocklistById(String ym) - { - return stocklistMapper.selectStocklistById(ym); - } - - /** - * 查询库存信息列表 - * - * @param stocklist 库存信息 - * @return 库存信息 - */ - @Override - public List selectStocklistList(Stocklist stocklist) - { - return stocklistMapper.selectStocklistList(stocklist); - } - - @Override - public List selectStocklistSearch(Stocklist stocklist) { - return stocklistMapper.selectStocklistSearch(stocklist); - } - - /** - * 新增库存信息 - * - * @param stocklist 库存信息 - * @return 结果 - */ - @Override - public int insertStocklist(Stocklist stocklist) - { - return stocklistMapper.insertStocklist(stocklist); - } - - /** - * 修改库存信息 - * - * @param stocklist 库存信息 - * @return 结果 - */ - @Override - public int updateStocklist(Stocklist stocklist) - { - return stocklistMapper.updateStocklist(stocklist); - } - - /** - * 删除库存信息对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteStocklistByIds(String ids) - { - return stocklistMapper.deleteStocklistByIds(Convert.toStrArray(ids)); - } - - /** - * 删除库存信息信息 - * - * @param ym 库存信息ID - * @return 结果 - */ - @Override - public int deleteStocklistById(String ym) - { - return stocklistMapper.deleteStocklistById(ym); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/stock/StocklistMapper.xml b/ruoyi-admin/src/main/resources/mapper/stock/StocklistMapper.xml deleted file mode 100644 index cfa06fe6..00000000 --- a/ruoyi-admin/src/main/resources/mapper/stock/StocklistMapper.xml +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select ym, stockno, Wl_Code, HS_Code, Itemname, EN_NAME, Itemstandard, Machine_no, Stock_dw, PO_PI_NO, Last_qty, last_juan, Last_weight, Last_price, Last_amt, input_qty, input_juan, input_weight, Input_price, Input_amt, output_qty, output_juan, output_weight, Output_price, Output_amt, just_qty, just_juan, just_amt, Just_weight, now_qty, now_juan, Now_weight, now_price, now_amt, Workorder_qty, Canuse_qty, Safety_stock_num, Top_stock_num, Itemclass, Inclass, Default_position, wldm, PCODE, Just_Price, State_name, CRL_NAME, PNAME, juan_m2, m2_price, now_m2_amt, base_code, stockname, p_wldm, ID from stocklist - - - - - - - - - - insert into stocklist - - ym, - stockno, - Wl_Code, - HS_Code, - Itemname, - EN_NAME, - Itemstandard, - Machine_no, - Stock_dw, - PO_PI_NO, - Last_qty, - last_juan, - Last_weight, - Last_price, - Last_amt, - input_qty, - input_juan, - input_weight, - Input_price, - Input_amt, - output_qty, - output_juan, - output_weight, - Output_price, - Output_amt, - just_qty, - just_juan, - just_amt, - Just_weight, - now_qty, - now_juan, - Now_weight, - now_price, - now_amt, - Workorder_qty, - Canuse_qty, - Safety_stock_num, - Top_stock_num, - Itemclass, - Inclass, - Default_position, - wldm, - PCODE, - Just_Price, - State_name, - CRL_NAME, - PNAME, - juan_m2, - m2_price, - now_m2_amt, - base_code, - stockname, - p_wldm, - ID, - - - #{ym}, - #{stockno}, - #{wlCode}, - #{hsCode}, - #{Itemname}, - #{enName}, - #{Itemstandard}, - #{machineNo}, - #{stockDw}, - #{poPiNo}, - #{lastQty}, - #{lastJuan}, - #{lastWeight}, - #{lastPrice}, - #{lastAmt}, - #{inputQty}, - #{inputJuan}, - #{inputWeight}, - #{inputPrice}, - #{inputAmt}, - #{outputQty}, - #{outputJuan}, - #{outputWeight}, - #{outputPrice}, - #{outputAmt}, - #{justQty}, - #{justJuan}, - #{justAmt}, - #{justWeight}, - #{nowQty}, - #{nowJuan}, - #{nowWeight}, - #{nowPrice}, - #{nowAmt}, - #{workorderQty}, - #{canuseQty}, - #{safetyStockNum}, - #{topStockNum}, - #{Itemclass}, - #{Inclass}, - #{defaultPosition}, - #{wldm}, - #{PCODE}, - #{justPrice}, - #{stateName}, - #{crlName}, - #{PNAME}, - #{juanM2}, - #{m2Price}, - #{nowM2Amt}, - #{baseCode}, - #{stockname}, - #{pWldm}, - #{ID}, - - - - - update stocklist - - stockno = #{stockno}, - Wl_Code = #{wlCode}, - HS_Code = #{hsCode}, - Itemname = #{Itemname}, - EN_NAME = #{enName}, - Itemstandard = #{Itemstandard}, - Machine_no = #{machineNo}, - Stock_dw = #{stockDw}, - PO_PI_NO = #{poPiNo}, - Last_qty = #{lastQty}, - last_juan = #{lastJuan}, - Last_weight = #{lastWeight}, - Last_price = #{lastPrice}, - Last_amt = #{lastAmt}, - input_qty = #{inputQty}, - input_juan = #{inputJuan}, - input_weight = #{inputWeight}, - Input_price = #{inputPrice}, - Input_amt = #{inputAmt}, - output_qty = #{outputQty}, - output_juan = #{outputJuan}, - output_weight = #{outputWeight}, - Output_price = #{outputPrice}, - Output_amt = #{outputAmt}, - just_qty = #{justQty}, - just_juan = #{justJuan}, - just_amt = #{justAmt}, - Just_weight = #{justWeight}, - now_qty = #{nowQty}, - now_juan = #{nowJuan}, - Now_weight = #{nowWeight}, - now_price = #{nowPrice}, - now_amt = #{nowAmt}, - Workorder_qty = #{workorderQty}, - Canuse_qty = #{canuseQty}, - Safety_stock_num = #{safetyStockNum}, - Top_stock_num = #{topStockNum}, - Itemclass = #{Itemclass}, - Inclass = #{Inclass}, - Default_position = #{defaultPosition}, - wldm = #{wldm}, - PCODE = #{PCODE}, - Just_Price = #{justPrice}, - State_name = #{stateName}, - CRL_NAME = #{crlName}, - PNAME = #{PNAME}, - juan_m2 = #{juanM2}, - m2_price = #{m2Price}, - now_m2_amt = #{nowM2Amt}, - base_code = #{baseCode}, - stockname = #{stockname}, - p_wldm = #{pWldm}, - ID = #{ID}, - - where ID = #{ID} - - - - delete from stocklist where ID = #{ID} - - - - delete from stocklist where ID in - - #{ID} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/stocklist/add.html b/ruoyi-admin/src/main/resources/templates/stock/stocklist/add.html deleted file mode 100644 index b713763f..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/stocklist/add.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/stocklist/edit.html b/ruoyi-admin/src/main/resources/templates/stock/stocklist/edit.html deleted file mode 100644 index 5a2009d9..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/stocklist/edit.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
-
- - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/stocklist/stocklist.html b/ruoyi-admin/src/main/resources/templates/stock/stocklist/stocklist.html deleted file mode 100644 index ae3b5f8f..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/stocklist/stocklist.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • - -
  • - - -
  • -
  • - - -
  • - -
  • - - -
  • - -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - \ No newline at end of file