铁水磅,钢胚磅初始化
This commit is contained in:
parent
09cd5f9b60
commit
14dae22176
|
@ -0,0 +1,108 @@
|
||||||
|
package com.ruoyi.operation.controller;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.bill.domain.PoundBill;
|
||||||
|
import com.ruoyi.bill.service.IPoundBillService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.operation.service.IMoltenIronPoundService;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 铁水磅Controller
|
||||||
|
*
|
||||||
|
* @author ptt
|
||||||
|
* @date 2025-06-05
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/measurement/operation/moltenironpound")
|
||||||
|
public class MoltenIronPoundController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IPoundBillService moltenIronPoundService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询铁水磅列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:moltenironpound:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(PoundBill moltenIronPound)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<PoundBill> list = moltenIronPoundService.selectPoundBillList(moltenIronPound);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出铁水磅列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:moltenironpound:export')")
|
||||||
|
@Log(title = "铁水磅", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, PoundBill moltenIronPound)
|
||||||
|
{
|
||||||
|
List<PoundBill> list = moltenIronPoundService.selectPoundBillList(moltenIronPound);
|
||||||
|
ExcelUtil<PoundBill> util = new ExcelUtil<PoundBill>(PoundBill.class);
|
||||||
|
util.exportExcel(response, list, "铁水磅数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取铁水磅详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:moltenironpound:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") String id)
|
||||||
|
{
|
||||||
|
return success(moltenIronPoundService.getById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增铁水磅
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:moltenironpound:add')")
|
||||||
|
@Log(title = "铁水磅", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody PoundBill moltenIronPound)
|
||||||
|
{
|
||||||
|
return toAjax(moltenIronPoundService.save(moltenIronPound));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改铁水磅
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:moltenironpound:edit')")
|
||||||
|
@Log(title = "铁水磅", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody PoundBill moltenIronPound)
|
||||||
|
{
|
||||||
|
return toAjax(moltenIronPoundService.updatePoundBill(moltenIronPound));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除铁水磅
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:moltenironpound:remove')")
|
||||||
|
@Log(title = "铁水磅", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] ids)
|
||||||
|
{
|
||||||
|
List<String> list = Arrays.asList(ids);
|
||||||
|
return toAjax(moltenIronPoundService.removeByIds(list));
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,108 @@
|
||||||
|
package com.ruoyi.operation.controller;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import com.ruoyi.bill.domain.PoundBill;
|
||||||
|
import com.ruoyi.bill.service.IPoundBillService;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.operation.service.ISteelBlankPoundService;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 钢胚磅Controller
|
||||||
|
*
|
||||||
|
* @author ptt
|
||||||
|
* @date 2025-06-05
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/measurement/operation/steelblankpound")
|
||||||
|
public class SteelBlankPoundController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IPoundBillService steelBlankPoundService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询钢胚磅列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:steelblankpound:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(PoundBill steelBlankPound)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<PoundBill> list = steelBlankPoundService.selectPoundBillList(steelBlankPound);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出钢胚磅列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:steelblankpound:export')")
|
||||||
|
@Log(title = "钢胚磅", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, PoundBill steelBlankPound)
|
||||||
|
{
|
||||||
|
List<PoundBill> list = steelBlankPoundService.selectPoundBillList(steelBlankPound);
|
||||||
|
ExcelUtil<PoundBill> util = new ExcelUtil<PoundBill>(PoundBill.class);
|
||||||
|
util.exportExcel(response, list, "钢胚磅数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取钢胚磅详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:steelblankpound:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") String id)
|
||||||
|
{
|
||||||
|
return success(steelBlankPoundService.getById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增钢胚磅
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:steelblankpound:add')")
|
||||||
|
@Log(title = "钢胚磅", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody PoundBill steelBlankPound)
|
||||||
|
{
|
||||||
|
return toAjax(steelBlankPoundService.save(steelBlankPound));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改钢胚磅
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:steelblankpound:edit')")
|
||||||
|
@Log(title = "钢胚磅", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody PoundBill steelBlankPound)
|
||||||
|
{
|
||||||
|
return toAjax(steelBlankPoundService.updatePoundBill(steelBlankPound));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除钢胚磅
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('measurement/operation:steelblankpound:remove')")
|
||||||
|
@Log(title = "钢胚磅", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
public AjaxResult remove(@PathVariable String[] ids)
|
||||||
|
{
|
||||||
|
List<String> list = Arrays.asList(ids);
|
||||||
|
return toAjax(steelBlankPoundService.removeByIds(list));
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.operation.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.bill.domain.PoundBill;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 铁水磅Service接口
|
||||||
|
*
|
||||||
|
* @author ptt
|
||||||
|
* @date 2025-06-05
|
||||||
|
*/
|
||||||
|
public interface IMoltenIronPoundService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询铁水磅
|
||||||
|
*
|
||||||
|
* @param id 铁水磅主键
|
||||||
|
* @return 铁水磅
|
||||||
|
*/
|
||||||
|
public PoundBill selectMoltenIronPoundById(String id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询铁水磅列表
|
||||||
|
*
|
||||||
|
* @param moltenIronPound 铁水磅
|
||||||
|
* @return 铁水磅集合
|
||||||
|
*/
|
||||||
|
public List<PoundBill> selectMoltenIronPoundList(PoundBill moltenIronPound);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增铁水磅
|
||||||
|
*
|
||||||
|
* @param moltenIronPound 铁水磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertMoltenIronPound(PoundBill moltenIronPound);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改铁水磅
|
||||||
|
*
|
||||||
|
* @param moltenIronPound 铁水磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateMoltenIronPound(PoundBill moltenIronPound);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除铁水磅
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的铁水磅主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteMoltenIronPoundByIds(String[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除铁水磅信息
|
||||||
|
*
|
||||||
|
* @param id 铁水磅主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteMoltenIronPoundById(String id);
|
||||||
|
}
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.ruoyi.operation.service;
|
||||||
|
|
||||||
|
import com.ruoyi.bill.domain.PoundBill;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 钢胚磅Service接口
|
||||||
|
*
|
||||||
|
* @author ptt
|
||||||
|
* @date 2025-06-05
|
||||||
|
*/
|
||||||
|
public interface ISteelBlankPoundService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询钢胚磅
|
||||||
|
*
|
||||||
|
* @param id 钢胚磅主键
|
||||||
|
* @return 钢胚磅
|
||||||
|
*/
|
||||||
|
public PoundBill selectSteelBlankPoundById(String id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询钢胚磅列表
|
||||||
|
*
|
||||||
|
* @param steelBlankPound 钢胚磅
|
||||||
|
* @return 钢胚磅集合
|
||||||
|
*/
|
||||||
|
public List<PoundBill> selectSteelBlankPoundList(PoundBill steelBlankPound);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增钢胚磅
|
||||||
|
*
|
||||||
|
* @param steelBlankPound 钢胚磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertSteelBlankPound(PoundBill steelBlankPound);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改钢胚磅
|
||||||
|
*
|
||||||
|
* @param steelBlankPound 钢胚磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateSteelBlankPound(PoundBill steelBlankPound);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除钢胚磅
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的钢胚磅主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteSteelBlankPoundByIds(String[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除钢胚磅信息
|
||||||
|
*
|
||||||
|
* @param id 钢胚磅主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteSteelBlankPoundById(String id);
|
||||||
|
}
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.operation.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.bill.domain.PoundBill;
|
||||||
|
import com.ruoyi.bill.mapper.PoundBillMapper;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.operation.service.IMoltenIronPoundService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 铁水磅Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ptt
|
||||||
|
* @date 2025-06-05
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class MoltenIronPoundServiceImpl implements IMoltenIronPoundService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private PoundBillMapper moltenIronPoundMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询铁水磅
|
||||||
|
*
|
||||||
|
* @param id 铁水磅主键
|
||||||
|
* @return 铁水磅
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PoundBill selectMoltenIronPoundById(String id)
|
||||||
|
{
|
||||||
|
return moltenIronPoundMapper.selectPoundBillById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询铁水磅列表
|
||||||
|
*
|
||||||
|
* @param moltenIronPound 铁水磅
|
||||||
|
* @return 铁水磅
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<PoundBill> selectMoltenIronPoundList(PoundBill moltenIronPound)
|
||||||
|
{
|
||||||
|
return moltenIronPoundMapper.selectPoundBillList(moltenIronPound);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增铁水磅
|
||||||
|
*
|
||||||
|
* @param moltenIronPound 铁水磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertMoltenIronPound(PoundBill moltenIronPound)
|
||||||
|
{
|
||||||
|
return moltenIronPoundMapper.insertPoundBill(moltenIronPound);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改铁水磅
|
||||||
|
*
|
||||||
|
* @param moltenIronPound 铁水磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateMoltenIronPound(PoundBill moltenIronPound)
|
||||||
|
{
|
||||||
|
return moltenIronPoundMapper.updatePoundBill(moltenIronPound);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除铁水磅
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的铁水磅主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteMoltenIronPoundByIds(String[] ids)
|
||||||
|
{
|
||||||
|
return moltenIronPoundMapper.deletePoundBillByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除铁水磅信息
|
||||||
|
*
|
||||||
|
* @param id 铁水磅主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteMoltenIronPoundById(String id)
|
||||||
|
{
|
||||||
|
return moltenIronPoundMapper.deletePoundBillById(id);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,94 @@
|
||||||
|
package com.ruoyi.operation.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.bill.domain.PoundBill;
|
||||||
|
import com.ruoyi.bill.mapper.PoundBillMapper;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.operation.service.ISteelBlankPoundService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 钢胚磅Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ptt
|
||||||
|
* @date 2025-06-05
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SteelBlankPoundServiceImpl implements ISteelBlankPoundService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private PoundBillMapper steelBlankPoundMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询钢胚磅
|
||||||
|
*
|
||||||
|
* @param id 钢胚磅主键
|
||||||
|
* @return 钢胚磅
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PoundBill selectSteelBlankPoundById(String id)
|
||||||
|
{
|
||||||
|
return steelBlankPoundMapper.selectPoundBillById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询钢胚磅列表
|
||||||
|
*
|
||||||
|
* @param steelBlankPound 钢胚磅
|
||||||
|
* @return 钢胚磅
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<PoundBill> selectSteelBlankPoundList(PoundBill steelBlankPound)
|
||||||
|
{
|
||||||
|
return steelBlankPoundMapper.selectPoundBillList(steelBlankPound);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增钢胚磅
|
||||||
|
*
|
||||||
|
* @param steelBlankPound 钢胚磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertSteelBlankPound(PoundBill steelBlankPound)
|
||||||
|
{
|
||||||
|
return steelBlankPoundMapper.insertPoundBill(steelBlankPound);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改钢胚磅
|
||||||
|
*
|
||||||
|
* @param steelBlankPound 钢胚磅
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateSteelBlankPound(PoundBill steelBlankPound)
|
||||||
|
{
|
||||||
|
return steelBlankPoundMapper.updatePoundBill(steelBlankPound);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除钢胚磅
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的钢胚磅主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteSteelBlankPoundByIds(String[] ids)
|
||||||
|
{
|
||||||
|
return steelBlankPoundMapper.deletePoundBillByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除钢胚磅信息
|
||||||
|
*
|
||||||
|
* @param id 钢胚磅主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteSteelBlankPoundById(String id)
|
||||||
|
{
|
||||||
|
return steelBlankPoundMapper.deletePoundBillById(id);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,44 @@
|
||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询铁水磅列表
|
||||||
|
export function listMoltenironpound(query) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/moltenironpound/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询铁水磅详细
|
||||||
|
export function getMoltenironpound(id) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/moltenironpound/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增铁水磅
|
||||||
|
export function addMoltenironpound(data) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/moltenironpound',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改铁水磅
|
||||||
|
export function updateMoltenironpound(data) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/moltenironpound',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除铁水磅
|
||||||
|
export function delMoltenironpound(id) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/moltenironpound/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
|
@ -0,0 +1,44 @@
|
||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询铁水磅列表
|
||||||
|
export function listSteelblankpound(query) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/steelblankpound/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询铁水磅详细
|
||||||
|
export function getSteelblankpound(id) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/steelblankpound/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增铁水磅
|
||||||
|
export function addSteelblankpound(data) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/steelblankpound',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改铁水磅
|
||||||
|
export function updateSteelblankpound(data) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/steelblankpound',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除铁水磅
|
||||||
|
export function delSteelblankpound(id) {
|
||||||
|
return request({
|
||||||
|
url: '/measurement/operation/steelblankpound/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue