wms白胚粉料的代码
parent
616d370067
commit
55c11e1cbb
@ -0,0 +1,97 @@
|
||||
package com.op.wms.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
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.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.wms.domain.OdsInventoryOrder;
|
||||
import com.op.wms.service.IOdsInventoryOrderService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 包材盘点单Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/Inventoryorder")
|
||||
public class OdsInventoryOrderController extends BaseController {
|
||||
@Autowired
|
||||
private IOdsInventoryOrderService odsInventoryOrderService;
|
||||
|
||||
/**
|
||||
* 查询包材盘点单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventoryorder:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(OdsInventoryOrder odsInventoryOrder) {
|
||||
startPage();
|
||||
List<OdsInventoryOrder> list = odsInventoryOrderService.selectOdsInventoryOrderList(odsInventoryOrder);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出包材盘点单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventoryorder:export")
|
||||
@Log(title = "包材盘点单", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, OdsInventoryOrder odsInventoryOrder) {
|
||||
List<OdsInventoryOrder> list = odsInventoryOrderService.selectOdsInventoryOrderList(odsInventoryOrder);
|
||||
ExcelUtil<OdsInventoryOrder> util = new ExcelUtil<OdsInventoryOrder>(OdsInventoryOrder.class);
|
||||
util.exportExcel(response, list, "包材盘点单数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取包材盘点单详细信息
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventoryorder:query")
|
||||
@GetMapping(value = "/{ID}")
|
||||
public AjaxResult getInfo(@PathVariable("ID") String ID) {
|
||||
return success(odsInventoryOrderService.selectOdsInventoryOrderByID(ID));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增包材盘点单
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventoryorder:add")
|
||||
@Log(title = "包材盘点单", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody OdsInventoryOrder odsInventoryOrder) {
|
||||
return toAjax(odsInventoryOrderService.insertOdsInventoryOrder(odsInventoryOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改包材盘点单
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventoryorder:edit")
|
||||
@Log(title = "包材盘点单", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody OdsInventoryOrder odsInventoryOrder) {
|
||||
return toAjax(odsInventoryOrderService.updateOdsInventoryOrder(odsInventoryOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除包材盘点单
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventoryorder:remove")
|
||||
@Log(title = "包材盘点单", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{IDs}")
|
||||
public AjaxResult remove(@PathVariable String[] IDs) {
|
||||
return toAjax(odsInventoryOrderService.deleteOdsInventoryOrderByIDs(IDs));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,97 @@
|
||||
package com.op.wms.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
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.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.wms.domain.OdsProcureOrder;
|
||||
import com.op.wms.service.IOdsProcureOrderService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 包材采购单Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/order")
|
||||
public class OdsProcureOrderController extends BaseController {
|
||||
@Autowired
|
||||
private IOdsProcureOrderService odsProcureOrderService;
|
||||
|
||||
/**
|
||||
* 查询包材采购单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:order:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(OdsProcureOrder odsProcureOrder) {
|
||||
startPage();
|
||||
List<OdsProcureOrder> list = odsProcureOrderService.selectOdsProcureOrderList(odsProcureOrder);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出包材采购单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:order:export")
|
||||
@Log(title = "包材采购单", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, OdsProcureOrder odsProcureOrder) {
|
||||
List<OdsProcureOrder> list = odsProcureOrderService.selectOdsProcureOrderList(odsProcureOrder);
|
||||
ExcelUtil<OdsProcureOrder> util = new ExcelUtil<OdsProcureOrder>(OdsProcureOrder.class);
|
||||
util.exportExcel(response, list, "包材采购单数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取包材采购单详细信息
|
||||
*/
|
||||
@RequiresPermissions("wms:order:query")
|
||||
@GetMapping(value = "/{ID}")
|
||||
public AjaxResult getInfo(@PathVariable("ID") String ID) {
|
||||
return success(odsProcureOrderService.selectOdsProcureOrderByID(ID));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增包材采购单
|
||||
*/
|
||||
@RequiresPermissions("wms:order:add")
|
||||
@Log(title = "包材采购单", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody OdsProcureOrder odsProcureOrder) {
|
||||
return toAjax(odsProcureOrderService.insertOdsProcureOrder(odsProcureOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改包材采购单
|
||||
*/
|
||||
@RequiresPermissions("wms:order:edit")
|
||||
@Log(title = "包材采购单", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody OdsProcureOrder odsProcureOrder) {
|
||||
return toAjax(odsProcureOrderService.updateOdsProcureOrder(odsProcureOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除包材采购单
|
||||
*/
|
||||
@RequiresPermissions("wms:order:remove")
|
||||
@Log(title = "包材采购单", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{IDs}")
|
||||
public AjaxResult remove(@PathVariable String[] IDs) {
|
||||
return toAjax(odsProcureOrderService.deleteOdsProcureOrderByIDs(IDs));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,97 @@
|
||||
package com.op.wms.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
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.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.wms.domain.OdsProcureOutOrder;
|
||||
import com.op.wms.service.IOdsProcureOutOrderService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 包材出库单Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/outorder")
|
||||
public class OdsProcureOutOrderController extends BaseController {
|
||||
@Autowired
|
||||
private IOdsProcureOutOrderService odsProcureOutOrderService;
|
||||
|
||||
/**
|
||||
* 查询包材出库单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:outorder:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(OdsProcureOutOrder odsProcureOutOrder) {
|
||||
startPage();
|
||||
List<OdsProcureOutOrder> list = odsProcureOutOrderService.selectOdsProcureOutOrderList(odsProcureOutOrder);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出包材出库单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:outorder:export")
|
||||
@Log(title = "包材出库单", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, OdsProcureOutOrder odsProcureOutOrder) {
|
||||
List<OdsProcureOutOrder> list = odsProcureOutOrderService.selectOdsProcureOutOrderList(odsProcureOutOrder);
|
||||
ExcelUtil<OdsProcureOutOrder> util = new ExcelUtil<OdsProcureOutOrder>(OdsProcureOutOrder.class);
|
||||
util.exportExcel(response, list, "包材出库单数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取包材出库单详细信息
|
||||
*/
|
||||
@RequiresPermissions("wms:outorder:query")
|
||||
@GetMapping(value = "/{ID}")
|
||||
public AjaxResult getInfo(@PathVariable("ID") String ID) {
|
||||
return success(odsProcureOutOrderService.selectOdsProcureOutOrderByID(ID));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增包材出库单
|
||||
*/
|
||||
@RequiresPermissions("wms:outorder:add")
|
||||
@Log(title = "包材出库单", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody OdsProcureOutOrder odsProcureOutOrder) {
|
||||
return toAjax(odsProcureOutOrderService.insertOdsProcureOutOrder(odsProcureOutOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改包材出库单
|
||||
*/
|
||||
@RequiresPermissions("wms:outorder:edit")
|
||||
@Log(title = "包材出库单", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody OdsProcureOutOrder odsProcureOutOrder) {
|
||||
return toAjax(odsProcureOutOrderService.updateOdsProcureOutOrder(odsProcureOutOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除包材出库单
|
||||
*/
|
||||
@RequiresPermissions("wms:outorder:remove")
|
||||
@Log(title = "包材出库单", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{IDs}")
|
||||
public AjaxResult remove(@PathVariable String[] IDs) {
|
||||
return toAjax(odsProcureOutOrderService.deleteOdsProcureOutOrderByIDs(IDs));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,97 @@
|
||||
package com.op.wms.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
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.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.wms.domain.OdsWhiteEmbryo;
|
||||
import com.op.wms.service.IOdsWhiteEmbryoService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 白胚出库单Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/embryo")
|
||||
public class OdsWhiteEmbryoController extends BaseController {
|
||||
@Autowired
|
||||
private IOdsWhiteEmbryoService odsWhiteEmbryoService;
|
||||
|
||||
/**
|
||||
* 查询白胚出库单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:embryo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(OdsWhiteEmbryo odsWhiteEmbryo) {
|
||||
startPage();
|
||||
List<OdsWhiteEmbryo> list = odsWhiteEmbryoService.selectOdsWhiteEmbryoList(odsWhiteEmbryo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出白胚出库单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:embryo:export")
|
||||
@Log(title = "白胚出库单", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, OdsWhiteEmbryo odsWhiteEmbryo) {
|
||||
List<OdsWhiteEmbryo> list = odsWhiteEmbryoService.selectOdsWhiteEmbryoList(odsWhiteEmbryo);
|
||||
ExcelUtil<OdsWhiteEmbryo> util = new ExcelUtil<OdsWhiteEmbryo>(OdsWhiteEmbryo.class);
|
||||
util.exportExcel(response, list, "白胚出库单数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取白胚出库单详细信息
|
||||
*/
|
||||
@RequiresPermissions("wms:embryo:query")
|
||||
@GetMapping(value = "/{ID}")
|
||||
public AjaxResult getInfo(@PathVariable("ID") String ID) {
|
||||
return success(odsWhiteEmbryoService.selectOdsWhiteEmbryoByID(ID));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增白胚出库单
|
||||
*/
|
||||
@RequiresPermissions("wms:embryo:add")
|
||||
@Log(title = "白胚出库单", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody OdsWhiteEmbryo odsWhiteEmbryo) {
|
||||
return toAjax(odsWhiteEmbryoService.insertOdsWhiteEmbryo(odsWhiteEmbryo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改白胚出库单
|
||||
*/
|
||||
@RequiresPermissions("wms:embryo:edit")
|
||||
@Log(title = "白胚出库单", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody OdsWhiteEmbryo odsWhiteEmbryo) {
|
||||
return toAjax(odsWhiteEmbryoService.updateOdsWhiteEmbryo(odsWhiteEmbryo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除白胚出库单
|
||||
*/
|
||||
@RequiresPermissions("wms:embryo:remove")
|
||||
@Log(title = "白胚出库单", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{IDs}")
|
||||
public AjaxResult remove(@PathVariable String[] IDs) {
|
||||
return toAjax(odsWhiteEmbryoService.deleteOdsWhiteEmbryoByIDs(IDs));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,97 @@
|
||||
package com.op.wms.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
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.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.wms.domain.OdsWhiteEmbryoInventory;
|
||||
import com.op.wms.service.IOdsWhiteEmbryoInventoryService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 白胚盘点单Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/Inventory")
|
||||
public class OdsWhiteEmbryoInventoryController extends BaseController {
|
||||
@Autowired
|
||||
private IOdsWhiteEmbryoInventoryService odsWhiteEmbryoInventoryService;
|
||||
|
||||
/**
|
||||
* 查询白胚盘点单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventory:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory) {
|
||||
startPage();
|
||||
List<OdsWhiteEmbryoInventory> list = odsWhiteEmbryoInventoryService.selectOdsWhiteEmbryoInventoryList(odsWhiteEmbryoInventory);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出白胚盘点单列表
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventory:export")
|
||||
@Log(title = "白胚盘点单", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, OdsWhiteEmbryoInventory odsWhiteEmbryoInventory) {
|
||||
List<OdsWhiteEmbryoInventory> list = odsWhiteEmbryoInventoryService.selectOdsWhiteEmbryoInventoryList(odsWhiteEmbryoInventory);
|
||||
ExcelUtil<OdsWhiteEmbryoInventory> util = new ExcelUtil<OdsWhiteEmbryoInventory>(OdsWhiteEmbryoInventory.class);
|
||||
util.exportExcel(response, list, "白胚盘点单数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取白胚盘点单详细信息
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventory:query")
|
||||
@GetMapping(value = "/{ID}")
|
||||
public AjaxResult getInfo(@PathVariable("ID") String ID) {
|
||||
return success(odsWhiteEmbryoInventoryService.selectOdsWhiteEmbryoInventoryByID(ID));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增白胚盘点单
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventory:add")
|
||||
@Log(title = "白胚盘点单", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody OdsWhiteEmbryoInventory odsWhiteEmbryoInventory) {
|
||||
return toAjax(odsWhiteEmbryoInventoryService.insertOdsWhiteEmbryoInventory(odsWhiteEmbryoInventory));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改白胚盘点单
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventory:edit")
|
||||
@Log(title = "白胚盘点单", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody OdsWhiteEmbryoInventory odsWhiteEmbryoInventory) {
|
||||
return toAjax(odsWhiteEmbryoInventoryService.updateOdsWhiteEmbryoInventory(odsWhiteEmbryoInventory));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除白胚盘点单
|
||||
*/
|
||||
@RequiresPermissions("wms:Inventory:remove")
|
||||
@Log(title = "白胚盘点单", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{IDs}")
|
||||
public AjaxResult remove(@PathVariable String[] IDs) {
|
||||
return toAjax(odsWhiteEmbryoInventoryService.deleteOdsWhiteEmbryoInventoryByIDs(IDs));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,97 @@
|
||||
package com.op.wms.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
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.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.wms.domain.PowderChargeOrder;
|
||||
import com.op.wms.service.IPowderChargeOrderService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 粉料配料Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-10
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/chargeorder")
|
||||
public class PowderChargeOrderController extends BaseController {
|
||||
@Autowired
|
||||
private IPowderChargeOrderService powderChargeOrderService;
|
||||
|
||||
/**
|
||||
* 查询粉料配料列表
|
||||
*/
|
||||
@RequiresPermissions("wms:chargeorder:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(PowderChargeOrder powderChargeOrder) {
|
||||
startPage();
|
||||
List<PowderChargeOrder> list = powderChargeOrderService.selectPowderChargeOrderList(powderChargeOrder);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出粉料配料列表
|
||||
*/
|
||||
@RequiresPermissions("wms:chargeorder:export")
|
||||
@Log(title = "粉料配料", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, PowderChargeOrder powderChargeOrder) {
|
||||
List<PowderChargeOrder> list = powderChargeOrderService.selectPowderChargeOrderList(powderChargeOrder);
|
||||
ExcelUtil<PowderChargeOrder> util = new ExcelUtil<PowderChargeOrder>(PowderChargeOrder.class);
|
||||
util.exportExcel(response, list, "粉料配料数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取粉料配料详细信息
|
||||
*/
|
||||
@RequiresPermissions("wms:chargeorder:query")
|
||||
@GetMapping(value = "/{ID}")
|
||||
public AjaxResult getInfo(@PathVariable("ID") String ID) {
|
||||
return success(powderChargeOrderService.selectPowderChargeOrderByID(ID));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增粉料配料
|
||||
*/
|
||||
@RequiresPermissions("wms:chargeorder:add")
|
||||
@Log(title = "粉料配料", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody PowderChargeOrder powderChargeOrder) {
|
||||
return toAjax(powderChargeOrderService.insertPowderChargeOrder(powderChargeOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改粉料配料
|
||||
*/
|
||||
@RequiresPermissions("wms:chargeorder:edit")
|
||||
@Log(title = "粉料配料", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody PowderChargeOrder powderChargeOrder) {
|
||||
return toAjax(powderChargeOrderService.updatePowderChargeOrder(powderChargeOrder));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除粉料配料
|
||||
*/
|
||||
@RequiresPermissions("wms:chargeorder:remove")
|
||||
@Log(title = "粉料配料", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{IDs}")
|
||||
public AjaxResult remove(@PathVariable String[] IDs) {
|
||||
return toAjax(powderChargeOrderService.deletePowderChargeOrderByIDs(IDs));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,437 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 粉料采购计划对象 base_powder_order
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-05
|
||||
*/
|
||||
public class BasePowderOrder extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String siteCode;
|
||||
|
||||
/** ID */
|
||||
private String ID;
|
||||
private String Remark;
|
||||
/** 采购单号 */
|
||||
@Excel(name = "采购单号")
|
||||
private String orderCode;
|
||||
|
||||
/** 物料编码 */
|
||||
@Excel(name = "物料编码")
|
||||
private String materialCode;
|
||||
|
||||
/** 物料描述 */
|
||||
@Excel(name = "物料描述")
|
||||
private String materialDesc;
|
||||
|
||||
/** 计划日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
|
||||
/** 计划数量 */
|
||||
@Excel(name = "计划数量")
|
||||
private BigDecimal planNumber;
|
||||
|
||||
/** 单位 */
|
||||
@Excel(name = "单位")
|
||||
private String Unit;
|
||||
|
||||
/** 实际数量 */
|
||||
@Excel(name = "实际数量")
|
||||
private BigDecimal realityNumber;
|
||||
|
||||
/** 订单状态 */
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/** 用户自定义属性1 */
|
||||
@Excel(name = "用户自定义属性1")
|
||||
private String userDefined1;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined2;
|
||||
|
||||
/** 用户自定义属性3 */
|
||||
@Excel(name = "用户自定义属性3")
|
||||
private String userDefined3;
|
||||
|
||||
/** 用户自定义属性4 */
|
||||
@Excel(name = "用户自定义属性4")
|
||||
private String userDefined4;
|
||||
|
||||
/** 用户自定义属性5 */
|
||||
@Excel(name = "用户自定义属性5")
|
||||
private String userDefined5;
|
||||
|
||||
/** 用户自定义属性6 */
|
||||
@Excel(name = "用户自定义属性6")
|
||||
private String userDefined6;
|
||||
|
||||
/** 用户自定义属性7 */
|
||||
@Excel(name = "用户自定义属性7")
|
||||
private String userDefined7;
|
||||
|
||||
/** 用户自定义属性8 */
|
||||
@Excel(name = "用户自定义属性8")
|
||||
private String userDefined8;
|
||||
|
||||
/** 用户自定义属性9 */
|
||||
@Excel(name = "用户自定义属性9")
|
||||
private String userDefined9;
|
||||
|
||||
/** 用户自定义属性10 */
|
||||
@Excel(name = "用户自定义属性10")
|
||||
private String userDefined10;
|
||||
|
||||
/** 用户自定义属性11 */
|
||||
@Excel(name = "用户自定义属性11")
|
||||
private String userDefined11;
|
||||
|
||||
/** 供应商编码 */
|
||||
@Excel(name = "供应商编码")
|
||||
private String supplierCode;
|
||||
@Excel(name = "整车重量")
|
||||
private BigDecimal comNumber;
|
||||
@Excel(name = "空车重量")
|
||||
private BigDecimal emptyNumber;
|
||||
|
||||
@Excel(name = "库位编号")
|
||||
private String locCode;
|
||||
@Excel(name = "库位名称")
|
||||
private String locDesc;
|
||||
|
||||
public String getLocCode() {
|
||||
return locCode;
|
||||
}
|
||||
|
||||
public void setLocCode(String locCode) {
|
||||
this.locCode = locCode;
|
||||
}
|
||||
|
||||
public String getLocDesc() {
|
||||
return locDesc;
|
||||
}
|
||||
|
||||
public void setLocDesc(String locDesc) {
|
||||
this.locDesc = locDesc;
|
||||
}
|
||||
|
||||
public BigDecimal getComNumber() {
|
||||
return comNumber;
|
||||
}
|
||||
|
||||
public void setComNumber(BigDecimal comNumber) {
|
||||
this.comNumber = comNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getEmptyNumber() {
|
||||
return emptyNumber;
|
||||
}
|
||||
|
||||
public void setEmptyNumber(BigDecimal emptyNumber) {
|
||||
this.emptyNumber = emptyNumber;
|
||||
}
|
||||
|
||||
/** 供应商名称 */
|
||||
@Excel(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createDate;
|
||||
|
||||
/** 最后更新人 */
|
||||
@Excel(name = "最后更新人")
|
||||
private String lastUpdateBy;
|
||||
|
||||
/** 最后更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date lastUpdateDate;
|
||||
|
||||
/** 可用标识 */
|
||||
@Excel(name = "可用标识")
|
||||
private String Active;
|
||||
|
||||
/** 企业主键 */
|
||||
@Excel(name = "企业主键")
|
||||
private String enterpriseId;
|
||||
|
||||
/** 企业编码 */
|
||||
@Excel(name = "企业编码")
|
||||
private String enterpriseCode;
|
||||
|
||||
/** 已采购数量 */
|
||||
@Excel(name = "已采购数量")
|
||||
private String lssuedNumber;
|
||||
|
||||
public void setSiteCode(String siteCode) {
|
||||
this.siteCode = siteCode;
|
||||
}
|
||||
|
||||
public String getSiteCode() {
|
||||
return siteCode;
|
||||
}
|
||||
public void setID(String ID) {
|
||||
this.ID = ID;
|
||||
}
|
||||
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
public void setOrderCode(String orderCode) {
|
||||
this.orderCode = orderCode;
|
||||
}
|
||||
|
||||
public String getOrderCode() {
|
||||
return orderCode;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialDesc(String materialDesc) {
|
||||
this.materialDesc = materialDesc;
|
||||
}
|
||||
|
||||
public String getMaterialDesc() {
|
||||
return materialDesc;
|
||||
}
|
||||
public void setPlanDate(Date planDate) {
|
||||
this.planDate = planDate;
|
||||
}
|
||||
|
||||
public Date getPlanDate() {
|
||||
return planDate;
|
||||
}
|
||||
public void setPlanNumber(BigDecimal planNumber) {
|
||||
this.planNumber = planNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getPlanNumber() {
|
||||
return planNumber;
|
||||
}
|
||||
public void setUnit(String Unit) {
|
||||
this.Unit = Unit;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return Unit;
|
||||
}
|
||||
public void setRealityNumber(BigDecimal realityNumber) {
|
||||
this.realityNumber = realityNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getRealityNumber() {
|
||||
return realityNumber;
|
||||
}
|
||||
public void setOrderStatus(String orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
public void setUserDefined1(String userDefined1) {
|
||||
this.userDefined1 = userDefined1;
|
||||
}
|
||||
|
||||
public String getUserDefined1() {
|
||||
return userDefined1;
|
||||
}
|
||||
public void setUserDefined2(String userDefined2) {
|
||||
this.userDefined2 = userDefined2;
|
||||
}
|
||||
|
||||
public String getUserDefined2() {
|
||||
return userDefined2;
|
||||
}
|
||||
public void setUserDefined3(String userDefined3) {
|
||||
this.userDefined3 = userDefined3;
|
||||
}
|
||||
|
||||
public String getUserDefined3() {
|
||||
return userDefined3;
|
||||
}
|
||||
public void setUserDefined4(String userDefined4) {
|
||||
this.userDefined4 = userDefined4;
|
||||
}
|
||||
|
||||
public String getUserDefined4() {
|
||||
return userDefined4;
|
||||
}
|
||||
public void setUserDefined5(String userDefined5) {
|
||||
this.userDefined5 = userDefined5;
|
||||
}
|
||||
|
||||
public String getUserDefined5() {
|
||||
return userDefined5;
|
||||
}
|
||||
public void setUserDefined6(String userDefined6) {
|
||||
this.userDefined6 = userDefined6;
|
||||
}
|
||||
|
||||
public String getUserDefined6() {
|
||||
return userDefined6;
|
||||
}
|
||||
public void setUserDefined7(String userDefined7) {
|
||||
this.userDefined7 = userDefined7;
|
||||
}
|
||||
|
||||
public String getUserDefined7() {
|
||||
return userDefined7;
|
||||
}
|
||||
public void setUserDefined8(String userDefined8) {
|
||||
this.userDefined8 = userDefined8;
|
||||
}
|
||||
|
||||
public String getUserDefined8() {
|
||||
return userDefined8;
|
||||
}
|
||||
public void setUserDefined9(String userDefined9) {
|
||||
this.userDefined9 = userDefined9;
|
||||
}
|
||||
|
||||
public String getUserDefined9() {
|
||||
return userDefined9;
|
||||
}
|
||||
public void setUserDefined10(String userDefined10) {
|
||||
this.userDefined10 = userDefined10;
|
||||
}
|
||||
|
||||
public String getUserDefined10() {
|
||||
return userDefined10;
|
||||
}
|
||||
public void setUserDefined11(String userDefined11) {
|
||||
this.userDefined11 = userDefined11;
|
||||
}
|
||||
|
||||
public String getUserDefined11() {
|
||||
return userDefined11;
|
||||
}
|
||||
public void setSupplierCode(String supplierCode) {
|
||||
this.supplierCode = supplierCode;
|
||||
}
|
||||
|
||||
public String getSupplierCode() {
|
||||
return supplierCode;
|
||||
}
|
||||
public void setSupplierName(String supplierName) {
|
||||
this.supplierName = supplierName;
|
||||
}
|
||||
|
||||
public String getSupplierName() {
|
||||
return supplierName;
|
||||
}
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
public void setLastUpdateBy(String lastUpdateBy) {
|
||||
this.lastUpdateBy = lastUpdateBy;
|
||||
}
|
||||
|
||||
public String getLastUpdateBy() {
|
||||
return lastUpdateBy;
|
||||
}
|
||||
public void setLastUpdateDate(Date lastUpdateDate) {
|
||||
this.lastUpdateDate = lastUpdateDate;
|
||||
}
|
||||
|
||||
public Date getLastUpdateDate() {
|
||||
return lastUpdateDate;
|
||||
}
|
||||
public void setActive(String Active) {
|
||||
this.Active = Active;
|
||||
}
|
||||
|
||||
public String getActive() {
|
||||
return Active;
|
||||
}
|
||||
public void setEnterpriseId(String enterpriseId) {
|
||||
this.enterpriseId = enterpriseId;
|
||||
}
|
||||
|
||||
public String getEnterpriseId() {
|
||||
return enterpriseId;
|
||||
}
|
||||
public void setEnterpriseCode(String enterpriseCode) {
|
||||
this.enterpriseCode = enterpriseCode;
|
||||
}
|
||||
|
||||
public String getEnterpriseCode() {
|
||||
return enterpriseCode;
|
||||
}
|
||||
public void setLssuedNumber(String lssuedNumber) {
|
||||
this.lssuedNumber = lssuedNumber;
|
||||
}
|
||||
|
||||
public String getLssuedNumber() {
|
||||
return lssuedNumber;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
public void setRemark(String Remark) {
|
||||
this.Remark = Remark;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("siteCode", getSiteCode())
|
||||
.append("ID", getID())
|
||||
.append("orderCode", getOrderCode())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialDesc", getMaterialDesc())
|
||||
.append("planDate", getPlanDate())
|
||||
.append("planNumber", getPlanNumber())
|
||||
.append("Unit", getUnit())
|
||||
.append("realityNumber", getRealityNumber())
|
||||
.append("orderStatus", getOrderStatus())
|
||||
.append("userDefined1", getUserDefined1())
|
||||
.append("userDefined2", getUserDefined2())
|
||||
.append("userDefined3", getUserDefined3())
|
||||
.append("userDefined4", getUserDefined4())
|
||||
.append("userDefined5", getUserDefined5())
|
||||
.append("userDefined6", getUserDefined6())
|
||||
.append("userDefined7", getUserDefined7())
|
||||
.append("userDefined8", getUserDefined8())
|
||||
.append("userDefined9", getUserDefined9())
|
||||
.append("userDefined10", getUserDefined10())
|
||||
.append("userDefined11", getUserDefined11())
|
||||
.append("supplierCode", getSupplierCode())
|
||||
.append("supplierName", getSupplierName())
|
||||
.append("Remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createDate", getCreateDate())
|
||||
.append("lastUpdateBy", getLastUpdateBy())
|
||||
.append("lastUpdateDate", getLastUpdateDate())
|
||||
.append("Active", getActive())
|
||||
.append("enterpriseId", getEnterpriseId())
|
||||
.append("enterpriseCode", getEnterpriseCode())
|
||||
.append("lssuedNumber", getLssuedNumber())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,361 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 包材盘点单对象 ods_Inventory_order
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public class OdsInventoryOrder extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String siteCode;
|
||||
|
||||
/** ID */
|
||||
private String ID;
|
||||
|
||||
/** 盘点单号 */
|
||||
@Excel(name = "盘点单号")
|
||||
private String orderInventCode;
|
||||
|
||||
/** 型号编码 */
|
||||
@Excel(name = "型号编码")
|
||||
private String materialCode;
|
||||
private String Remark;
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String Remark) {
|
||||
this.Remark = Remark;
|
||||
}
|
||||
/** 型号名称 */
|
||||
@Excel(name = "型号名称")
|
||||
private String materialDesc;
|
||||
|
||||
/** 计划日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
|
||||
/** 库存数量 */
|
||||
@Excel(name = "库存数量")
|
||||
private BigDecimal locNumber;
|
||||
|
||||
/** 实际数量 */
|
||||
@Excel(name = "实际数量")
|
||||
private BigDecimal realityNumber;
|
||||
|
||||
/** 订单状态 */
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined1;
|
||||
|
||||
/** 库位 */
|
||||
@Excel(name = "库位")
|
||||
private String locCode;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined2;
|
||||
|
||||
/** 用户自定义属性3 */
|
||||
@Excel(name = "用户自定义属性3")
|
||||
private String userDefined3;
|
||||
|
||||
/** 用户自定义属性4 */
|
||||
@Excel(name = "用户自定义属性4")
|
||||
private String userDefined4;
|
||||
|
||||
/** 用户自定义属性5 */
|
||||
@Excel(name = "用户自定义属性5")
|
||||
private String userDefined5;
|
||||
|
||||
/** 用户自定义属性6 */
|
||||
@Excel(name = "用户自定义属性6")
|
||||
private String userDefined6;
|
||||
|
||||
/** 用户自定义属性7 */
|
||||
@Excel(name = "用户自定义属性7")
|
||||
private String userDefined7;
|
||||
|
||||
/** 用户自定义属性8 */
|
||||
@Excel(name = "用户自定义属性8")
|
||||
private String userDefined8;
|
||||
|
||||
/** 用户自定义属性9 */
|
||||
@Excel(name = "用户自定义属性9")
|
||||
private String userDefined9;
|
||||
|
||||
/** 用户自定义属性10 */
|
||||
@Excel(name = "用户自定义属性10")
|
||||
private String userDefined10;
|
||||
|
||||
/** 用户自定义属性11 */
|
||||
@Excel(name = "用户自定义属性11")
|
||||
private String userDefined11;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createDate;
|
||||
|
||||
/** 最后更新人 */
|
||||
@Excel(name = "最后更新人")
|
||||
private String lastUpdateBy;
|
||||
|
||||
/** 最后更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date lastUpdateDate;
|
||||
|
||||
/** 可用标识 */
|
||||
@Excel(name = "可用标识")
|
||||
private String Active;
|
||||
|
||||
/** 企业主键 */
|
||||
@Excel(name = "企业主键")
|
||||
private String enterpriseId;
|
||||
|
||||
/** 企业编码 */
|
||||
@Excel(name = "企业编码")
|
||||
private String enterpriseCode;
|
||||
|
||||
public void setSiteCode(String siteCode) {
|
||||
this.siteCode = siteCode;
|
||||
}
|
||||
|
||||
public String getSiteCode() {
|
||||
return siteCode;
|
||||
}
|
||||
public void setID(String ID) {
|
||||
this.ID = ID;
|
||||
}
|
||||
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
public void setOrderInventCode(String orderInventCode) {
|
||||
this.orderInventCode = orderInventCode;
|
||||
}
|
||||
|
||||
public String getOrderInventCode() {
|
||||
return orderInventCode;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialDesc(String materialDesc) {
|
||||
this.materialDesc = materialDesc;
|
||||
}
|
||||
|
||||
public String getMaterialDesc() {
|
||||
return materialDesc;
|
||||
}
|
||||
public void setPlanDate(Date planDate) {
|
||||
this.planDate = planDate;
|
||||
}
|
||||
|
||||
public Date getPlanDate() {
|
||||
return planDate;
|
||||
}
|
||||
public void setLocNumber(BigDecimal locNumber) {
|
||||
this.locNumber = locNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getLocNumber() {
|
||||
return locNumber;
|
||||
}
|
||||
public void setRealityNumber(BigDecimal realityNumber) {
|
||||
this.realityNumber = realityNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getRealityNumber() {
|
||||
return realityNumber;
|
||||
}
|
||||
public void setOrderStatus(String orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
public void setUserDefined1(String userDefined1) {
|
||||
this.userDefined1 = userDefined1;
|
||||
}
|
||||
|
||||
public String getUserDefined1() {
|
||||
return userDefined1;
|
||||
}
|
||||
public void setLocCode(String locCode) {
|
||||
this.locCode = locCode;
|
||||
}
|
||||
|
||||
public String getLocCode() {
|
||||
return locCode;
|
||||
}
|
||||
public void setUserDefined2(String userDefined2) {
|
||||
this.userDefined2 = userDefined2;
|
||||
}
|
||||
|
||||
public String getUserDefined2() {
|
||||
return userDefined2;
|
||||
}
|
||||
public void setUserDefined3(String userDefined3) {
|
||||
this.userDefined3 = userDefined3;
|
||||
}
|
||||
|
||||
public String getUserDefined3() {
|
||||
return userDefined3;
|
||||
}
|
||||
public void setUserDefined4(String userDefined4) {
|
||||
this.userDefined4 = userDefined4;
|
||||
}
|
||||
|
||||
public String getUserDefined4() {
|
||||
return userDefined4;
|
||||
}
|
||||
public void setUserDefined5(String userDefined5) {
|
||||
this.userDefined5 = userDefined5;
|
||||
}
|
||||
|
||||
public String getUserDefined5() {
|
||||
return userDefined5;
|
||||
}
|
||||
public void setUserDefined6(String userDefined6) {
|
||||
this.userDefined6 = userDefined6;
|
||||
}
|
||||
|
||||
public String getUserDefined6() {
|
||||
return userDefined6;
|
||||
}
|
||||
public void setUserDefined7(String userDefined7) {
|
||||
this.userDefined7 = userDefined7;
|
||||
}
|
||||
|
||||
public String getUserDefined7() {
|
||||
return userDefined7;
|
||||
}
|
||||
public void setUserDefined8(String userDefined8) {
|
||||
this.userDefined8 = userDefined8;
|
||||
}
|
||||
|
||||
public String getUserDefined8() {
|
||||
return userDefined8;
|
||||
}
|
||||
public void setUserDefined9(String userDefined9) {
|
||||
this.userDefined9 = userDefined9;
|
||||
}
|
||||
|
||||
public String getUserDefined9() {
|
||||
return userDefined9;
|
||||
}
|
||||
public void setUserDefined10(String userDefined10) {
|
||||
this.userDefined10 = userDefined10;
|
||||
}
|
||||
|
||||
public String getUserDefined10() {
|
||||
return userDefined10;
|
||||
}
|
||||
public void setUserDefined11(String userDefined11) {
|
||||
this.userDefined11 = userDefined11;
|
||||
}
|
||||
|
||||
public String getUserDefined11() {
|
||||
return userDefined11;
|
||||
}
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
public void setLastUpdateBy(String lastUpdateBy) {
|
||||
this.lastUpdateBy = lastUpdateBy;
|
||||
}
|
||||
|
||||
public String getLastUpdateBy() {
|
||||
return lastUpdateBy;
|
||||
}
|
||||
public void setLastUpdateDate(Date lastUpdateDate) {
|
||||
this.lastUpdateDate = lastUpdateDate;
|
||||
}
|
||||
|
||||
public Date getLastUpdateDate() {
|
||||
return lastUpdateDate;
|
||||
}
|
||||
public void setActive(String Active) {
|
||||
this.Active = Active;
|
||||
}
|
||||
|
||||
public String getActive() {
|
||||
return Active;
|
||||
}
|
||||
public void setEnterpriseId(String enterpriseId) {
|
||||
this.enterpriseId = enterpriseId;
|
||||
}
|
||||
|
||||
public String getEnterpriseId() {
|
||||
return enterpriseId;
|
||||
}
|
||||
public void setEnterpriseCode(String enterpriseCode) {
|
||||
this.enterpriseCode = enterpriseCode;
|
||||
}
|
||||
|
||||
public String getEnterpriseCode() {
|
||||
return enterpriseCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("siteCode", getSiteCode())
|
||||
.append("ID", getID())
|
||||
.append("orderInventCode", getOrderInventCode())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialDesc", getMaterialDesc())
|
||||
.append("planDate", getPlanDate())
|
||||
.append("locNumber", getLocNumber())
|
||||
.append("realityNumber", getRealityNumber())
|
||||
.append("orderStatus", getOrderStatus())
|
||||
.append("userDefined1", getUserDefined1())
|
||||
.append("locCode", getLocCode())
|
||||
.append("userDefined2", getUserDefined2())
|
||||
.append("userDefined3", getUserDefined3())
|
||||
.append("userDefined4", getUserDefined4())
|
||||
.append("userDefined5", getUserDefined5())
|
||||
.append("userDefined6", getUserDefined6())
|
||||
.append("userDefined7", getUserDefined7())
|
||||
.append("userDefined8", getUserDefined8())
|
||||
.append("userDefined9", getUserDefined9())
|
||||
.append("userDefined10", getUserDefined10())
|
||||
.append("userDefined11", getUserDefined11())
|
||||
.append("Remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createDate", getCreateDate())
|
||||
.append("lastUpdateBy", getLastUpdateBy())
|
||||
.append("lastUpdateDate", getLastUpdateDate())
|
||||
.append("Active", getActive())
|
||||
.append("enterpriseId", getEnterpriseId())
|
||||
.append("enterpriseCode", getEnterpriseCode())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,386 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 包材采购单对象 ods_procure_order
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public class OdsProcureOrder extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String siteCode;
|
||||
|
||||
/** ID */
|
||||
private String ID;
|
||||
|
||||
/** 采购单号 */
|
||||
@Excel(name = "采购单号")
|
||||
private String procureCode;
|
||||
|
||||
/** 物料编码 */
|
||||
@Excel(name = "物料编码")
|
||||
private String materialCode;
|
||||
|
||||
/** 物料描述 */
|
||||
@Excel(name = "物料描述")
|
||||
private String materialDesc;
|
||||
|
||||
/** 计划日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
|
||||
/** 计划数量 */
|
||||
@Excel(name = "计划数量")
|
||||
private BigDecimal planNumber;
|
||||
|
||||
/** 单位 */
|
||||
@Excel(name = "单位")
|
||||
private String Unit;
|
||||
|
||||
/** 已入库数量 */
|
||||
@Excel(name = "已入库数量")
|
||||
private BigDecimal realityNumber;
|
||||
|
||||
/** 订单状态 */
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/** 用户自定义属性1 */
|
||||
@Excel(name = "用户自定义属性1")
|
||||
private String userDefined1;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined2;
|
||||
|
||||
/** 用户自定义属性3 */
|
||||
@Excel(name = "用户自定义属性3")
|
||||
private String userDefined3;
|
||||
|
||||
/** 用户自定义属性4 */
|
||||
@Excel(name = "用户自定义属性4")
|
||||
private String userDefined4;
|
||||
|
||||
/** 用户自定义属性5 */
|
||||
@Excel(name = "用户自定义属性5")
|
||||
private String userDefined5;
|
||||
|
||||
/** 用户自定义属性6 */
|
||||
@Excel(name = "用户自定义属性6")
|
||||
private String userDefined6;
|
||||
|
||||
/** 用户自定义属性7 */
|
||||
@Excel(name = "用户自定义属性7")
|
||||
private String userDefined7;
|
||||
|
||||
/** 用户自定义属性8 */
|
||||
@Excel(name = "用户自定义属性8")
|
||||
private String userDefined8;
|
||||
|
||||
/** 用户自定义属性9 */
|
||||
@Excel(name = "用户自定义属性9")
|
||||
private String userDefined9;
|
||||
|
||||
/** 用户自定义属性10 */
|
||||
@Excel(name = "用户自定义属性10")
|
||||
private String userDefined10;
|
||||
|
||||
/** 用户自定义属性11 */
|
||||
@Excel(name = "用户自定义属性11")
|
||||
private String userDefined11;
|
||||
|
||||
/** 供应商编码 */
|
||||
@Excel(name = "供应商编码")
|
||||
private String supplierCode;
|
||||
|
||||
private String Remark;
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String Remark) {
|
||||
this.Remark = Remark;
|
||||
}
|
||||
/** 供应商名称 */
|
||||
@Excel(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createDate;
|
||||
|
||||
/** 最后更新人 */
|
||||
@Excel(name = "最后更新人")
|
||||
private String lastUpdateBy;
|
||||
|
||||
/** 最后更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date lastUpdateDate;
|
||||
|
||||
/** 可用标识 */
|
||||
@Excel(name = "可用标识")
|
||||
private String Active;
|
||||
|
||||
/** 企业主键 */
|
||||
@Excel(name = "企业主键")
|
||||
private String enterpriseId;
|
||||
|
||||
/** 企业编码 */
|
||||
@Excel(name = "企业编码")
|
||||
private String enterpriseCode;
|
||||
|
||||
public void setSiteCode(String siteCode) {
|
||||
this.siteCode = siteCode;
|
||||
}
|
||||
|
||||
public String getSiteCode() {
|
||||
return siteCode;
|
||||
}
|
||||
public void setID(String ID) {
|
||||
this.ID = ID;
|
||||
}
|
||||
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
public void setProcureCode(String procureCode) {
|
||||
this.procureCode = procureCode;
|
||||
}
|
||||
|
||||
public String getProcureCode() {
|
||||
return procureCode;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialDesc(String materialDesc) {
|
||||
this.materialDesc = materialDesc;
|
||||
}
|
||||
|
||||
public String getMaterialDesc() {
|
||||
return materialDesc;
|
||||
}
|
||||
public void setPlanDate(Date planDate) {
|
||||
this.planDate = planDate;
|
||||
}
|
||||
|
||||
public Date getPlanDate() {
|
||||
return planDate;
|
||||
}
|
||||
public void setPlanNumber(BigDecimal planNumber) {
|
||||
this.planNumber = planNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getPlanNumber() {
|
||||
return planNumber;
|
||||
}
|
||||
public void setUnit(String Unit) {
|
||||
this.Unit = Unit;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return Unit;
|
||||
}
|
||||
public void setRealityNumber(BigDecimal realityNumber) {
|
||||
this.realityNumber = realityNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getRealityNumber() {
|
||||
return realityNumber;
|
||||
}
|
||||
public void setOrderStatus(String orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
public void setUserDefined1(String userDefined1) {
|
||||
this.userDefined1 = userDefined1;
|
||||
}
|
||||
|
||||
public String getUserDefined1() {
|
||||
return userDefined1;
|
||||
}
|
||||
public void setUserDefined2(String userDefined2) {
|
||||
this.userDefined2 = userDefined2;
|
||||
}
|
||||
|
||||
public String getUserDefined2() {
|
||||
return userDefined2;
|
||||
}
|
||||
public void setUserDefined3(String userDefined3) {
|
||||
this.userDefined3 = userDefined3;
|
||||
}
|
||||
|
||||
public String getUserDefined3() {
|
||||
return userDefined3;
|
||||
}
|
||||
public void setUserDefined4(String userDefined4) {
|
||||
this.userDefined4 = userDefined4;
|
||||
}
|
||||
|
||||
public String getUserDefined4() {
|
||||
return userDefined4;
|
||||
}
|
||||
public void setUserDefined5(String userDefined5) {
|
||||
this.userDefined5 = userDefined5;
|
||||
}
|
||||
|
||||
public String getUserDefined5() {
|
||||
return userDefined5;
|
||||
}
|
||||
public void setUserDefined6(String userDefined6) {
|
||||
this.userDefined6 = userDefined6;
|
||||
}
|
||||
|
||||
public String getUserDefined6() {
|
||||
return userDefined6;
|
||||
}
|
||||
public void setUserDefined7(String userDefined7) {
|
||||
this.userDefined7 = userDefined7;
|
||||
}
|
||||
|
||||
public String getUserDefined7() {
|
||||
return userDefined7;
|
||||
}
|
||||
public void setUserDefined8(String userDefined8) {
|
||||
this.userDefined8 = userDefined8;
|
||||
}
|
||||
|
||||
public String getUserDefined8() {
|
||||
return userDefined8;
|
||||
}
|
||||
public void setUserDefined9(String userDefined9) {
|
||||
this.userDefined9 = userDefined9;
|
||||
}
|
||||
|
||||
public String getUserDefined9() {
|
||||
return userDefined9;
|
||||
}
|
||||
public void setUserDefined10(String userDefined10) {
|
||||
this.userDefined10 = userDefined10;
|
||||
}
|
||||
|
||||
public String getUserDefined10() {
|
||||
return userDefined10;
|
||||
}
|
||||
public void setUserDefined11(String userDefined11) {
|
||||
this.userDefined11 = userDefined11;
|
||||
}
|
||||
|
||||
public String getUserDefined11() {
|
||||
return userDefined11;
|
||||
}
|
||||
public void setSupplierCode(String supplierCode) {
|
||||
this.supplierCode = supplierCode;
|
||||
}
|
||||
|
||||
public String getSupplierCode() {
|
||||
return supplierCode;
|
||||
}
|
||||
public void setSupplierName(String supplierName) {
|
||||
this.supplierName = supplierName;
|
||||
}
|
||||
|
||||
public String getSupplierName() {
|
||||
return supplierName;
|
||||
}
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
public void setLastUpdateBy(String lastUpdateBy) {
|
||||
this.lastUpdateBy = lastUpdateBy;
|
||||
}
|
||||
|
||||
public String getLastUpdateBy() {
|
||||
return lastUpdateBy;
|
||||
}
|
||||
public void setLastUpdateDate(Date lastUpdateDate) {
|
||||
this.lastUpdateDate = lastUpdateDate;
|
||||
}
|
||||
|
||||
public Date getLastUpdateDate() {
|
||||
return lastUpdateDate;
|
||||
}
|
||||
public void setActive(String Active) {
|
||||
this.Active = Active;
|
||||
}
|
||||
|
||||
public String getActive() {
|
||||
return Active;
|
||||
}
|
||||
public void setEnterpriseId(String enterpriseId) {
|
||||
this.enterpriseId = enterpriseId;
|
||||
}
|
||||
|
||||
public String getEnterpriseId() {
|
||||
return enterpriseId;
|
||||
}
|
||||
public void setEnterpriseCode(String enterpriseCode) {
|
||||
this.enterpriseCode = enterpriseCode;
|
||||
}
|
||||
|
||||
public String getEnterpriseCode() {
|
||||
return enterpriseCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("siteCode", getSiteCode())
|
||||
.append("ID", getID())
|
||||
.append("procureCode", getProcureCode())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialDesc", getMaterialDesc())
|
||||
.append("planDate", getPlanDate())
|
||||
.append("planNumber", getPlanNumber())
|
||||
.append("Unit", getUnit())
|
||||
.append("realityNumber", getRealityNumber())
|
||||
.append("orderStatus", getOrderStatus())
|
||||
.append("userDefined1", getUserDefined1())
|
||||
.append("userDefined2", getUserDefined2())
|
||||
.append("userDefined3", getUserDefined3())
|
||||
.append("userDefined4", getUserDefined4())
|
||||
.append("userDefined5", getUserDefined5())
|
||||
.append("userDefined6", getUserDefined6())
|
||||
.append("userDefined7", getUserDefined7())
|
||||
.append("userDefined8", getUserDefined8())
|
||||
.append("userDefined9", getUserDefined9())
|
||||
.append("userDefined10", getUserDefined10())
|
||||
.append("userDefined11", getUserDefined11())
|
||||
.append("supplierCode", getSupplierCode())
|
||||
.append("supplierName", getSupplierName())
|
||||
.append("Remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createDate", getCreateDate())
|
||||
.append("lastUpdateBy", getLastUpdateBy())
|
||||
.append("lastUpdateDate", getLastUpdateDate())
|
||||
.append("Active", getActive())
|
||||
.append("enterpriseId", getEnterpriseId())
|
||||
.append("enterpriseCode", getEnterpriseCode())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,425 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 包材出库单对象 ods_procure_out_order
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public class OdsProcureOutOrder extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String siteCode;
|
||||
|
||||
/** ID */
|
||||
private String ID;
|
||||
|
||||
/** 生成订单 */
|
||||
@Excel(name = "生成订单")
|
||||
private String produceCode;
|
||||
|
||||
/** 型号编码 */
|
||||
@Excel(name = "型号编码")
|
||||
private String materialCode;
|
||||
|
||||
/** 型号名称 */
|
||||
@Excel(name = "型号名称")
|
||||
private String materialDesc;
|
||||
|
||||
/** 计划日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
|
||||
/** 计划数量 */
|
||||
@Excel(name = "计划数量")
|
||||
private BigDecimal planNumber;
|
||||
|
||||
/** 单位 */
|
||||
@Excel(name = "单位")
|
||||
private String Unit;
|
||||
|
||||
/** 已出库数量 */
|
||||
@Excel(name = "已出库数量")
|
||||
private BigDecimal outNumber;
|
||||
|
||||
/** 库位编号 */
|
||||
@Excel(name = "库位编号")
|
||||
private String locCode;
|
||||
|
||||
/** 库位名称 */
|
||||
@Excel(name = "库位名称")
|
||||
private String locDesc;
|
||||
|
||||
/** 产线名称 */
|
||||
@Excel(name = "产线名称")
|
||||
private String productionLineDesc;
|
||||
|
||||
/** 产线编号 */
|
||||
@Excel(name = "产线编号")
|
||||
private String productionLineCode;
|
||||
|
||||
/** 订单状态 */
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/** 批次号 */
|
||||
@Excel(name = "批次号")
|
||||
private String userDefined1;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined2;
|
||||
|
||||
/** 用户自定义属性3 */
|
||||
@Excel(name = "用户自定义属性3")
|
||||
private String userDefined3;
|
||||
|
||||
/** 用户自定义属性4 */
|
||||
@Excel(name = "用户自定义属性4")
|
||||
private String userDefined4;
|
||||
|
||||
/** 用户自定义属性5 */
|
||||
@Excel(name = "用户自定义属性5")
|
||||
private String userDefined5;
|
||||
|
||||
/** 用户自定义属性6 */
|
||||
@Excel(name = "用户自定义属性6")
|
||||
private String userDefined6;
|
||||
|
||||
/** 用户自定义属性7 */
|
||||
@Excel(name = "用户自定义属性7")
|
||||
private String userDefined7;
|
||||
|
||||
/** 用户自定义属性8 */
|
||||
@Excel(name = "用户自定义属性8")
|
||||
private String userDefined8;
|
||||
|
||||
/** 用户自定义属性9 */
|
||||
@Excel(name = "用户自定义属性9")
|
||||
private String userDefined9;
|
||||
|
||||
/** 用户自定义属性10 */
|
||||
@Excel(name = "用户自定义属性10")
|
||||
private String userDefined10;
|
||||
|
||||
/** 用户自定义属性11 */
|
||||
@Excel(name = "用户自定义属性11")
|
||||
private String userDefined11;
|
||||
|
||||
/** 供应商编码 */
|
||||
@Excel(name = "供应商编码")
|
||||
private String supplierCode;
|
||||
|
||||
/** 供应商名称 */
|
||||
@Excel(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createDate;
|
||||
|
||||
/** 最后更新人 */
|
||||
@Excel(name = "最后更新人")
|
||||
private String lastUpdateBy;
|
||||
|
||||
/** 最后更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date lastUpdateDate;
|
||||
|
||||
/** 可用标识 */
|
||||
@Excel(name = "可用标识")
|
||||
private String Active;
|
||||
|
||||
/** 企业主键 */
|
||||
@Excel(name = "企业主键")
|
||||
private String enterpriseId;
|
||||
|
||||
/** 企业编码 */
|
||||
@Excel(name = "企业编码")
|
||||
private String enterpriseCode;
|
||||
|
||||
public void setSiteCode(String siteCode) {
|
||||
this.siteCode = siteCode;
|
||||
}
|
||||
|
||||
public String getSiteCode() {
|
||||
return siteCode;
|
||||
}
|
||||
public void setID(String ID) {
|
||||
this.ID = ID;
|
||||
}
|
||||
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
public void setProduceCode(String produceCode) {
|
||||
this.produceCode = produceCode;
|
||||
}
|
||||
|
||||
public String getProduceCode() {
|
||||
return produceCode;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialDesc(String materialDesc) {
|
||||
this.materialDesc = materialDesc;
|
||||
}
|
||||
|
||||
public String getMaterialDesc() {
|
||||
return materialDesc;
|
||||
}
|
||||
public void setPlanDate(Date planDate) {
|
||||
this.planDate = planDate;
|
||||
}
|
||||
|
||||
public Date getPlanDate() {
|
||||
return planDate;
|
||||
}
|
||||
public void setPlanNumber(BigDecimal planNumber) {
|
||||
this.planNumber = planNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getPlanNumber() {
|
||||
return planNumber;
|
||||
}
|
||||
public void setUnit(String Unit) {
|
||||
this.Unit = Unit;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return Unit;
|
||||
}
|
||||
public void setOutNumber(BigDecimal outNumber) {
|
||||
this.outNumber = outNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getOutNumber() {
|
||||
return outNumber;
|
||||
}
|
||||
public void setLocCode(String locCode) {
|
||||
this.locCode = locCode;
|
||||
}
|
||||
|
||||
public String getLocCode() {
|
||||
return locCode;
|
||||
}
|
||||
public void setLocDesc(String locDesc) {
|
||||
this.locDesc = locDesc;
|
||||
}
|
||||
|
||||
public String getLocDesc() {
|
||||
return locDesc;
|
||||
}
|
||||
public void setProductionLineDesc(String productionLineDesc) {
|
||||
this.productionLineDesc = productionLineDesc;
|
||||
}
|
||||
|
||||
public String getProductionLineDesc() {
|
||||
return productionLineDesc;
|
||||
}
|
||||
public void setProductionLineCode(String productionLineCode) {
|
||||
this.productionLineCode = productionLineCode;
|
||||
}
|
||||
|
||||
public String getProductionLineCode() {
|
||||
return productionLineCode;
|
||||
}
|
||||
public void setOrderStatus(String orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
public void setUserDefined1(String userDefined1) {
|
||||
this.userDefined1 = userDefined1;
|
||||
}
|
||||
|
||||
public String getUserDefined1() {
|
||||
return userDefined1;
|
||||
}
|
||||
public void setUserDefined2(String userDefined2) {
|
||||
this.userDefined2 = userDefined2;
|
||||
}
|
||||
|
||||
public String getUserDefined2() {
|
||||
return userDefined2;
|
||||
}
|
||||
public void setUserDefined3(String userDefined3) {
|
||||
this.userDefined3 = userDefined3;
|
||||
}
|
||||
|
||||
public String getUserDefined3() {
|
||||
return userDefined3;
|
||||
}
|
||||
public void setUserDefined4(String userDefined4) {
|
||||
this.userDefined4 = userDefined4;
|
||||
}
|
||||
|
||||
public String getUserDefined4() {
|
||||
return userDefined4;
|
||||
}
|
||||
public void setUserDefined5(String userDefined5) {
|
||||
this.userDefined5 = userDefined5;
|
||||
}
|
||||
|
||||
public String getUserDefined5() {
|
||||
return userDefined5;
|
||||
}
|
||||
public void setUserDefined6(String userDefined6) {
|
||||
this.userDefined6 = userDefined6;
|
||||
}
|
||||
|
||||
public String getUserDefined6() {
|
||||
return userDefined6;
|
||||
}
|
||||
public void setUserDefined7(String userDefined7) {
|
||||
this.userDefined7 = userDefined7;
|
||||
}
|
||||
|
||||
public String getUserDefined7() {
|
||||
return userDefined7;
|
||||
}
|
||||
public void setUserDefined8(String userDefined8) {
|
||||
this.userDefined8 = userDefined8;
|
||||
}
|
||||
|
||||
public String getUserDefined8() {
|
||||
return userDefined8;
|
||||
}
|
||||
public void setUserDefined9(String userDefined9) {
|
||||
this.userDefined9 = userDefined9;
|
||||
}
|
||||
|
||||
public String getUserDefined9() {
|
||||
return userDefined9;
|
||||
}
|
||||
public void setUserDefined10(String userDefined10) {
|
||||
this.userDefined10 = userDefined10;
|
||||
}
|
||||
|
||||
public String getUserDefined10() {
|
||||
return userDefined10;
|
||||
}
|
||||
public void setUserDefined11(String userDefined11) {
|
||||
this.userDefined11 = userDefined11;
|
||||
}
|
||||
|
||||
public String getUserDefined11() {
|
||||
return userDefined11;
|
||||
}
|
||||
public void setSupplierCode(String supplierCode) {
|
||||
this.supplierCode = supplierCode;
|
||||
}
|
||||
|
||||
public String getSupplierCode() {
|
||||
return supplierCode;
|
||||
}
|
||||
public void setSupplierName(String supplierName) {
|
||||
this.supplierName = supplierName;
|
||||
}
|
||||
|
||||
public String getSupplierName() {
|
||||
return supplierName;
|
||||
}
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
public void setLastUpdateBy(String lastUpdateBy) {
|
||||
this.lastUpdateBy = lastUpdateBy;
|
||||
}
|
||||
|
||||
public String getLastUpdateBy() {
|
||||
return lastUpdateBy;
|
||||
}
|
||||
public void setLastUpdateDate(Date lastUpdateDate) {
|
||||
this.lastUpdateDate = lastUpdateDate;
|
||||
}
|
||||
|
||||
public Date getLastUpdateDate() {
|
||||
return lastUpdateDate;
|
||||
}
|
||||
public void setActive(String Active) {
|
||||
this.Active = Active;
|
||||
}
|
||||
|
||||
public String getActive() {
|
||||
return Active;
|
||||
}
|
||||
public void setEnterpriseId(String enterpriseId) {
|
||||
this.enterpriseId = enterpriseId;
|
||||
}
|
||||
|
||||
public String getEnterpriseId() {
|
||||
return enterpriseId;
|
||||
}
|
||||
public void setEnterpriseCode(String enterpriseCode) {
|
||||
this.enterpriseCode = enterpriseCode;
|
||||
}
|
||||
|
||||
public String getEnterpriseCode() {
|
||||
return enterpriseCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("siteCode", getSiteCode())
|
||||
.append("ID", getID())
|
||||
.append("produceCode", getProduceCode())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialDesc", getMaterialDesc())
|
||||
.append("planDate", getPlanDate())
|
||||
.append("planNumber", getPlanNumber())
|
||||
.append("Unit", getUnit())
|
||||
.append("outNumber", getOutNumber())
|
||||
.append("locCode", getLocCode())
|
||||
.append("locDesc", getLocDesc())
|
||||
.append("productionLineDesc", getProductionLineDesc())
|
||||
.append("productionLineCode", getProductionLineCode())
|
||||
.append("orderStatus", getOrderStatus())
|
||||
.append("userDefined1", getUserDefined1())
|
||||
.append("userDefined2", getUserDefined2())
|
||||
.append("userDefined3", getUserDefined3())
|
||||
.append("userDefined4", getUserDefined4())
|
||||
.append("userDefined5", getUserDefined5())
|
||||
.append("userDefined6", getUserDefined6())
|
||||
.append("userDefined7", getUserDefined7())
|
||||
.append("userDefined8", getUserDefined8())
|
||||
.append("userDefined9", getUserDefined9())
|
||||
.append("userDefined10", getUserDefined10())
|
||||
.append("userDefined11", getUserDefined11())
|
||||
.append("supplierCode", getSupplierCode())
|
||||
.append("supplierName", getSupplierName())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createDate", getCreateDate())
|
||||
.append("lastUpdateBy", getLastUpdateBy())
|
||||
.append("lastUpdateDate", getLastUpdateDate())
|
||||
.append("Active", getActive())
|
||||
.append("enterpriseId", getEnterpriseId())
|
||||
.append("enterpriseCode", getEnterpriseCode())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,421 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 白胚出库单对象 ods_white_embryo
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public class OdsWhiteEmbryo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String siteCode;
|
||||
|
||||
/** ID */
|
||||
private String ID;
|
||||
|
||||
/** 出库单号 */
|
||||
@Excel(name = "出库单号")
|
||||
private String orderCode;
|
||||
|
||||
/** 型号编码 */
|
||||
@Excel(name = "型号编码")
|
||||
private String materialCode;
|
||||
|
||||
/** 型号名称 */
|
||||
@Excel(name = "型号名称")
|
||||
private String materialDesc;
|
||||
|
||||
/** 计划日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
|
||||
/** 计划数量 */
|
||||
@Excel(name = "计划数量")
|
||||
private BigDecimal planNumber;
|
||||
|
||||
/** 单位 */
|
||||
@Excel(name = "单位")
|
||||
private String Unit;
|
||||
|
||||
/** 已出库数量 */
|
||||
@Excel(name = "已出库数量")
|
||||
private BigDecimal realityNumber;
|
||||
|
||||
/** 订单状态 */
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/** 批次号 */
|
||||
@Excel(name = "批次号")
|
||||
private String userDefined1;
|
||||
|
||||
/** 产线名称 */
|
||||
@Excel(name = "产线名称")
|
||||
private String productionLineDesc;
|
||||
|
||||
/** 产线编号 */
|
||||
@Excel(name = "产线编号")
|
||||
private String productionLineCode;
|
||||
|
||||
/** 库位 */
|
||||
@Excel(name = "库位")
|
||||
private String locCode;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined2;
|
||||
|
||||
/** 用户自定义属性3 */
|
||||
@Excel(name = "用户自定义属性3")
|
||||
private String userDefined3;
|
||||
|
||||
/** 用户自定义属性4 */
|
||||
@Excel(name = "用户自定义属性4")
|
||||
private String userDefined4;
|
||||
|
||||
/** 用户自定义属性5 */
|
||||
@Excel(name = "用户自定义属性5")
|
||||
private String userDefined5;
|
||||
|
||||
/** 用户自定义属性6 */
|
||||
@Excel(name = "用户自定义属性6")
|
||||
private String userDefined6;
|
||||
|
||||
/** 用户自定义属性7 */
|
||||
@Excel(name = "用户自定义属性7")
|
||||
private String userDefined7;
|
||||
|
||||
/** 用户自定义属性8 */
|
||||
@Excel(name = "用户自定义属性8")
|
||||
private String userDefined8;
|
||||
|
||||
/** 用户自定义属性9 */
|
||||
@Excel(name = "用户自定义属性9")
|
||||
private String userDefined9;
|
||||
|
||||
/** 用户自定义属性10 */
|
||||
@Excel(name = "用户自定义属性10")
|
||||
private String userDefined10;
|
||||
|
||||
/** 用户自定义属性11 */
|
||||
@Excel(name = "用户自定义属性11")
|
||||
private String userDefined11;
|
||||
|
||||
/** 供应商编码 */
|
||||
@Excel(name = "供应商编码")
|
||||
private String supplierCode;
|
||||
|
||||
/** 供应商名称 */
|
||||
@Excel(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createDate;
|
||||
|
||||
/** 最后更新人 */
|
||||
@Excel(name = "最后更新人")
|
||||
private String lastUpdateBy;
|
||||
|
||||
/** 最后更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date lastUpdateDate;
|
||||
|
||||
/** 可用标识 */
|
||||
@Excel(name = "可用标识")
|
||||
private String Active;
|
||||
|
||||
/** 企业主键 */
|
||||
@Excel(name = "企业主键")
|
||||
private String enterpriseId;
|
||||
|
||||
/** 企业编码 */
|
||||
@Excel(name = "企业编码")
|
||||
private String enterpriseCode;
|
||||
|
||||
public void setSiteCode(String siteCode) {
|
||||
this.siteCode = siteCode;
|
||||
}
|
||||
|
||||
public String getSiteCode() {
|
||||
return siteCode;
|
||||
}
|
||||
public void setID(String ID) {
|
||||
this.ID = ID;
|
||||
}
|
||||
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
public void setOrderCode(String orderCode) {
|
||||
this.orderCode = orderCode;
|
||||
}
|
||||
|
||||
public String getOrderCode() {
|
||||
return orderCode;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialDesc(String materialDesc) {
|
||||
this.materialDesc = materialDesc;
|
||||
}
|
||||
|
||||
public String getMaterialDesc() {
|
||||
return materialDesc;
|
||||
}
|
||||
public void setPlanDate(Date planDate) {
|
||||
this.planDate = planDate;
|
||||
}
|
||||
|
||||
public Date getPlanDate() {
|
||||
return planDate;
|
||||
}
|
||||
public void setPlanNumber(BigDecimal planNumber) {
|
||||
this.planNumber = planNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getPlanNumber() {
|
||||
return planNumber;
|
||||
}
|
||||
public void setUnit(String Unit) {
|
||||
this.Unit = Unit;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return Unit;
|
||||
}
|
||||
public void setRealityNumber(BigDecimal realityNumber) {
|
||||
this.realityNumber = realityNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getRealityNumber() {
|
||||
return realityNumber;
|
||||
}
|
||||
public void setOrderStatus(String orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
public void setUserDefined1(String userDefined1) {
|
||||
this.userDefined1 = userDefined1;
|
||||
}
|
||||
|
||||
public String getUserDefined1() {
|
||||
return userDefined1;
|
||||
}
|
||||
public void setProductionLineDesc(String productionLineDesc) {
|
||||
this.productionLineDesc = productionLineDesc;
|
||||
}
|
||||
|
||||
public String getProductionLineDesc() {
|
||||
return productionLineDesc;
|
||||
}
|
||||
public void setProductionLineCode(String productionLineCode) {
|
||||
this.productionLineCode = productionLineCode;
|
||||
}
|
||||
|
||||
public String getProductionLineCode() {
|
||||
return productionLineCode;
|
||||
}
|
||||
public void setLocCode(String locCode) {
|
||||
this.locCode = locCode;
|
||||
}
|
||||
|
||||
public String getLocCode() {
|
||||
return locCode;
|
||||
}
|
||||
public void setUserDefined2(String userDefined2) {
|
||||
this.userDefined2 = userDefined2;
|
||||
}
|
||||
|
||||
public String getUserDefined2() {
|
||||
return userDefined2;
|
||||
}
|
||||
public void setUserDefined3(String userDefined3) {
|
||||
this.userDefined3 = userDefined3;
|
||||
}
|
||||
|
||||
public String getUserDefined3() {
|
||||
return userDefined3;
|
||||
}
|
||||
public void setUserDefined4(String userDefined4) {
|
||||
this.userDefined4 = userDefined4;
|
||||
}
|
||||
|
||||
public String getUserDefined4() {
|
||||
return userDefined4;
|
||||
}
|
||||
public void setUserDefined5(String userDefined5) {
|
||||
this.userDefined5 = userDefined5;
|
||||
}
|
||||
|
||||
public String getUserDefined5() {
|
||||
return userDefined5;
|
||||
}
|
||||
public void setUserDefined6(String userDefined6) {
|
||||
this.userDefined6 = userDefined6;
|
||||
}
|
||||
|
||||
public String getUserDefined6() {
|
||||
return userDefined6;
|
||||
}
|
||||
public void setUserDefined7(String userDefined7) {
|
||||
this.userDefined7 = userDefined7;
|
||||
}
|
||||
|
||||
public String getUserDefined7() {
|
||||
return userDefined7;
|
||||
}
|
||||
public void setUserDefined8(String userDefined8) {
|
||||
this.userDefined8 = userDefined8;
|
||||
}
|
||||
|
||||
public String getUserDefined8() {
|
||||
return userDefined8;
|
||||
}
|
||||
public void setUserDefined9(String userDefined9) {
|
||||
this.userDefined9 = userDefined9;
|
||||
}
|
||||
|
||||
public String getUserDefined9() {
|
||||
return userDefined9;
|
||||
}
|
||||
public void setUserDefined10(String userDefined10) {
|
||||
this.userDefined10 = userDefined10;
|
||||
}
|
||||
|
||||
public String getUserDefined10() {
|
||||
return userDefined10;
|
||||
}
|
||||
public void setUserDefined11(String userDefined11) {
|
||||
this.userDefined11 = userDefined11;
|
||||
}
|
||||
|
||||
public String getUserDefined11() {
|
||||
return userDefined11;
|
||||
}
|
||||
public void setSupplierCode(String supplierCode) {
|
||||
this.supplierCode = supplierCode;
|
||||
}
|
||||
|
||||
public String getSupplierCode() {
|
||||
return supplierCode;
|
||||
}
|
||||
public void setSupplierName(String supplierName) {
|
||||
this.supplierName = supplierName;
|
||||
}
|
||||
|
||||
public String getSupplierName() {
|
||||
return supplierName;
|
||||
}
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
public void setLastUpdateBy(String lastUpdateBy) {
|
||||
this.lastUpdateBy = lastUpdateBy;
|
||||
}
|
||||
|
||||
public String getLastUpdateBy() {
|
||||
return lastUpdateBy;
|
||||
}
|
||||
public void setLastUpdateDate(Date lastUpdateDate) {
|
||||
this.lastUpdateDate = lastUpdateDate;
|
||||
}
|
||||
|
||||
public Date getLastUpdateDate() {
|
||||
return lastUpdateDate;
|
||||
}
|
||||
public void setActive(String Active) {
|
||||
this.Active = Active;
|
||||
}
|
||||
|
||||
public String getActive() {
|
||||
return Active;
|
||||
}
|
||||
public void setEnterpriseId(String enterpriseId) {
|
||||
this.enterpriseId = enterpriseId;
|
||||
}
|
||||
|
||||
public String getEnterpriseId() {
|
||||
return enterpriseId;
|
||||
}
|
||||
public void setEnterpriseCode(String enterpriseCode) {
|
||||
this.enterpriseCode = enterpriseCode;
|
||||
}
|
||||
|
||||
public String getEnterpriseCode() {
|
||||
return enterpriseCode;
|
||||
}
|
||||
private String Remark;
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String Remark) {
|
||||
this.Remark = Remark;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("siteCode", getSiteCode())
|
||||
.append("ID", getID())
|
||||
.append("orderCode", getOrderCode())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialDesc", getMaterialDesc())
|
||||
.append("planDate", getPlanDate())
|
||||
.append("planNumber", getPlanNumber())
|
||||
.append("Unit", getUnit())
|
||||
.append("realityNumber", getRealityNumber())
|
||||
.append("orderStatus", getOrderStatus())
|
||||
.append("userDefined1", getUserDefined1())
|
||||
.append("productionLineDesc", getProductionLineDesc())
|
||||
.append("productionLineCode", getProductionLineCode())
|
||||
.append("locCode", getLocCode())
|
||||
.append("userDefined2", getUserDefined2())
|
||||
.append("userDefined3", getUserDefined3())
|
||||
.append("userDefined4", getUserDefined4())
|
||||
.append("userDefined5", getUserDefined5())
|
||||
.append("userDefined6", getUserDefined6())
|
||||
.append("userDefined7", getUserDefined7())
|
||||
.append("userDefined8", getUserDefined8())
|
||||
.append("userDefined9", getUserDefined9())
|
||||
.append("userDefined10", getUserDefined10())
|
||||
.append("userDefined11", getUserDefined11())
|
||||
.append("supplierCode", getSupplierCode())
|
||||
.append("supplierName", getSupplierName())
|
||||
.append("Remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createDate", getCreateDate())
|
||||
.append("lastUpdateBy", getLastUpdateBy())
|
||||
.append("lastUpdateDate", getLastUpdateDate())
|
||||
.append("Active", getActive())
|
||||
.append("enterpriseId", getEnterpriseId())
|
||||
.append("enterpriseCode", getEnterpriseCode())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,373 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 白胚盘点单对象 ods_white_embryo_Inventory
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public class OdsWhiteEmbryoInventory extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String siteCode;
|
||||
|
||||
/** ID */
|
||||
private String ID;
|
||||
|
||||
/** 盘点单号 */
|
||||
@Excel(name = "盘点单号")
|
||||
private String orderCode;
|
||||
|
||||
/** 型号编码 */
|
||||
@Excel(name = "型号编码")
|
||||
private String materialCode;
|
||||
|
||||
/** 型号名称 */
|
||||
@Excel(name = "型号名称")
|
||||
private String materialDesc;
|
||||
|
||||
/** 计划日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
|
||||
/** 库存数量 */
|
||||
@Excel(name = "库存数量")
|
||||
private BigDecimal locNumber;
|
||||
|
||||
/** 单位 */
|
||||
@Excel(name = "单位")
|
||||
private String Unit;
|
||||
|
||||
/** 实际数量 */
|
||||
@Excel(name = "实际数量")
|
||||
private BigDecimal realityNumber;
|
||||
|
||||
/** 订单状态 */
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined1;
|
||||
|
||||
/** 库位 */
|
||||
@Excel(name = "库位")
|
||||
private String locCode;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined2;
|
||||
|
||||
/** 用户自定义属性3 */
|
||||
@Excel(name = "用户自定义属性3")
|
||||
private String userDefined3;
|
||||
|
||||
/** 用户自定义属性4 */
|
||||
@Excel(name = "用户自定义属性4")
|
||||
private String userDefined4;
|
||||
|
||||
/** 用户自定义属性5 */
|
||||
@Excel(name = "用户自定义属性5")
|
||||
private String userDefined5;
|
||||
|
||||
/** 用户自定义属性6 */
|
||||
@Excel(name = "用户自定义属性6")
|
||||
private String userDefined6;
|
||||
|
||||
/** 用户自定义属性7 */
|
||||
@Excel(name = "用户自定义属性7")
|
||||
private String userDefined7;
|
||||
|
||||
/** 用户自定义属性8 */
|
||||
@Excel(name = "用户自定义属性8")
|
||||
private String userDefined8;
|
||||
|
||||
/** 用户自定义属性9 */
|
||||
@Excel(name = "用户自定义属性9")
|
||||
private String userDefined9;
|
||||
|
||||
/** 用户自定义属性10 */
|
||||
@Excel(name = "用户自定义属性10")
|
||||
private String userDefined10;
|
||||
|
||||
/** 用户自定义属性11 */
|
||||
@Excel(name = "用户自定义属性11")
|
||||
private String userDefined11;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createDate;
|
||||
|
||||
/** 最后更新人 */
|
||||
@Excel(name = "最后更新人")
|
||||
private String lastUpdateBy;
|
||||
|
||||
/** 最后更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date lastUpdateDate;
|
||||
|
||||
/** 可用标识 */
|
||||
@Excel(name = "可用标识")
|
||||
private String Active;
|
||||
|
||||
/** 企业主键 */
|
||||
@Excel(name = "企业主键")
|
||||
private String enterpriseId;
|
||||
|
||||
/** 企业编码 */
|
||||
@Excel(name = "企业编码")
|
||||
private String enterpriseCode;
|
||||
private String Remark;
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String Remark) {
|
||||
this.Remark = Remark;
|
||||
}
|
||||
public void setSiteCode(String siteCode) {
|
||||
this.siteCode = siteCode;
|
||||
}
|
||||
|
||||
public String getSiteCode() {
|
||||
return siteCode;
|
||||
}
|
||||
public void setID(String ID) {
|
||||
this.ID = ID;
|
||||
}
|
||||
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
public void setOrderCode(String orderCode) {
|
||||
this.orderCode = orderCode;
|
||||
}
|
||||
|
||||
public String getOrderCode() {
|
||||
return orderCode;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialDesc(String materialDesc) {
|
||||
this.materialDesc = materialDesc;
|
||||
}
|
||||
|
||||
public String getMaterialDesc() {
|
||||
return materialDesc;
|
||||
}
|
||||
public void setPlanDate(Date planDate) {
|
||||
this.planDate = planDate;
|
||||
}
|
||||
|
||||
public Date getPlanDate() {
|
||||
return planDate;
|
||||
}
|
||||
public void setLocNumber(BigDecimal locNumber) {
|
||||
this.locNumber = locNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getLocNumber() {
|
||||
return locNumber;
|
||||
}
|
||||
public void setUnit(String Unit) {
|
||||
this.Unit = Unit;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return Unit;
|
||||
}
|
||||
public void setRealityNumber(BigDecimal realityNumber) {
|
||||
this.realityNumber = realityNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getRealityNumber() {
|
||||
return realityNumber;
|
||||
}
|
||||
public void setOrderStatus(String orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
public void setUserDefined1(String userDefined1) {
|
||||
this.userDefined1 = userDefined1;
|
||||
}
|
||||
|
||||
public String getUserDefined1() {
|
||||
return userDefined1;
|
||||
}
|
||||
public void setLocCode(String locCode) {
|
||||
this.locCode = locCode;
|
||||
}
|
||||
|
||||
public String getLocCode() {
|
||||
return locCode;
|
||||
}
|
||||
public void setUserDefined2(String userDefined2) {
|
||||
this.userDefined2 = userDefined2;
|
||||
}
|
||||
|
||||
public String getUserDefined2() {
|
||||
return userDefined2;
|
||||
}
|
||||
public void setUserDefined3(String userDefined3) {
|
||||
this.userDefined3 = userDefined3;
|
||||
}
|
||||
|
||||
public String getUserDefined3() {
|
||||
return userDefined3;
|
||||
}
|
||||
public void setUserDefined4(String userDefined4) {
|
||||
this.userDefined4 = userDefined4;
|
||||
}
|
||||
|
||||
public String getUserDefined4() {
|
||||
return userDefined4;
|
||||
}
|
||||
public void setUserDefined5(String userDefined5) {
|
||||
this.userDefined5 = userDefined5;
|
||||
}
|
||||
|
||||
public String getUserDefined5() {
|
||||
return userDefined5;
|
||||
}
|
||||
public void setUserDefined6(String userDefined6) {
|
||||
this.userDefined6 = userDefined6;
|
||||
}
|
||||
|
||||
public String getUserDefined6() {
|
||||
return userDefined6;
|
||||
}
|
||||
public void setUserDefined7(String userDefined7) {
|
||||
this.userDefined7 = userDefined7;
|
||||
}
|
||||
|
||||
public String getUserDefined7() {
|
||||
return userDefined7;
|
||||
}
|
||||
public void setUserDefined8(String userDefined8) {
|
||||
this.userDefined8 = userDefined8;
|
||||
}
|
||||
|
||||
public String getUserDefined8() {
|
||||
return userDefined8;
|
||||
}
|
||||
public void setUserDefined9(String userDefined9) {
|
||||
this.userDefined9 = userDefined9;
|
||||
}
|
||||
|
||||
public String getUserDefined9() {
|
||||
return userDefined9;
|
||||
}
|
||||
public void setUserDefined10(String userDefined10) {
|
||||
this.userDefined10 = userDefined10;
|
||||
}
|
||||
|
||||
public String getUserDefined10() {
|
||||
return userDefined10;
|
||||
}
|
||||
public void setUserDefined11(String userDefined11) {
|
||||
this.userDefined11 = userDefined11;
|
||||
}
|
||||
|
||||
public String getUserDefined11() {
|
||||
return userDefined11;
|
||||
}
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
public void setLastUpdateBy(String lastUpdateBy) {
|
||||
this.lastUpdateBy = lastUpdateBy;
|
||||
}
|
||||
|
||||
public String getLastUpdateBy() {
|
||||
return lastUpdateBy;
|
||||
}
|
||||
public void setLastUpdateDate(Date lastUpdateDate) {
|
||||
this.lastUpdateDate = lastUpdateDate;
|
||||
}
|
||||
|
||||
public Date getLastUpdateDate() {
|
||||
return lastUpdateDate;
|
||||
}
|
||||
public void setActive(String Active) {
|
||||
this.Active = Active;
|
||||
}
|
||||
|
||||
public String getActive() {
|
||||
return Active;
|
||||
}
|
||||
public void setEnterpriseId(String enterpriseId) {
|
||||
this.enterpriseId = enterpriseId;
|
||||
}
|
||||
|
||||
public String getEnterpriseId() {
|
||||
return enterpriseId;
|
||||
}
|
||||
public void setEnterpriseCode(String enterpriseCode) {
|
||||
this.enterpriseCode = enterpriseCode;
|
||||
}
|
||||
|
||||
public String getEnterpriseCode() {
|
||||
return enterpriseCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("siteCode", getSiteCode())
|
||||
.append("ID", getID())
|
||||
.append("orderCode", getOrderCode())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialDesc", getMaterialDesc())
|
||||
.append("planDate", getPlanDate())
|
||||
.append("locNumber", getLocNumber())
|
||||
.append("Unit", getUnit())
|
||||
.append("realityNumber", getRealityNumber())
|
||||
.append("orderStatus", getOrderStatus())
|
||||
.append("userDefined1", getUserDefined1())
|
||||
.append("locCode", getLocCode())
|
||||
.append("userDefined2", getUserDefined2())
|
||||
.append("userDefined3", getUserDefined3())
|
||||
.append("userDefined4", getUserDefined4())
|
||||
.append("userDefined5", getUserDefined5())
|
||||
.append("userDefined6", getUserDefined6())
|
||||
.append("userDefined7", getUserDefined7())
|
||||
.append("userDefined8", getUserDefined8())
|
||||
.append("userDefined9", getUserDefined9())
|
||||
.append("userDefined10", getUserDefined10())
|
||||
.append("userDefined11", getUserDefined11())
|
||||
.append("Remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createDate", getCreateDate())
|
||||
.append("lastUpdateBy", getLastUpdateBy())
|
||||
.append("lastUpdateDate", getLastUpdateDate())
|
||||
.append("Active", getActive())
|
||||
.append("enterpriseId", getEnterpriseId())
|
||||
.append("enterpriseCode", getEnterpriseCode())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,388 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 粉料配料对象 powder_charge_order
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-10
|
||||
*/
|
||||
public class PowderChargeOrder extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String siteCode;
|
||||
|
||||
/** ID */
|
||||
private String ID;
|
||||
|
||||
/** 配料单号 */
|
||||
@Excel(name = "配料单号")
|
||||
private String orderCode;
|
||||
|
||||
/** 物料编码 */
|
||||
@Excel(name = "物料编码")
|
||||
private String materialCode;
|
||||
|
||||
/** 物料描述 */
|
||||
@Excel(name = "物料描述")
|
||||
private String materialDesc;
|
||||
|
||||
/** 计划日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
|
||||
/** 数量 */
|
||||
@Excel(name = "数量")
|
||||
private BigDecimal planNumber;
|
||||
|
||||
/** 单位 */
|
||||
@Excel(name = "单位")
|
||||
private String Unit;
|
||||
|
||||
/** 实际数量 */
|
||||
@Excel(name = "实际数量")
|
||||
private BigDecimal realityNumber;
|
||||
|
||||
/** 订单状态 */
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/** 用户自定义属性1 */
|
||||
@Excel(name = "用户自定义属性1")
|
||||
private String userDefined1;
|
||||
|
||||
/** 用户自定义属性2 */
|
||||
@Excel(name = "用户自定义属性2")
|
||||
private String userDefined2;
|
||||
|
||||
/** 用户自定义属性3 */
|
||||
@Excel(name = "用户自定义属性3")
|
||||
private String userDefined3;
|
||||
|
||||
/** 用户自定义属性4 */
|
||||
@Excel(name = "用户自定义属性4")
|
||||
private String userDefined4;
|
||||
|
||||
/** 用户自定义属性5 */
|
||||
@Excel(name = "用户自定义属性5")
|
||||
private String userDefined5;
|
||||
|
||||
/** 用户自定义属性6 */
|
||||
@Excel(name = "用户自定义属性6")
|
||||
private String userDefined6;
|
||||
|
||||
/** 用户自定义属性7 */
|
||||
@Excel(name = "用户自定义属性7")
|
||||
private String userDefined7;
|
||||
|
||||
/** 用户自定义属性8 */
|
||||
@Excel(name = "用户自定义属性8")
|
||||
private String userDefined8;
|
||||
|
||||
/** 用户自定义属性9 */
|
||||
@Excel(name = "用户自定义属性9")
|
||||
private String userDefined9;
|
||||
|
||||
/** 用户自定义属性10 */
|
||||
@Excel(name = "用户自定义属性10")
|
||||
private String userDefined10;
|
||||
|
||||
/** 用户自定义属性11 */
|
||||
@Excel(name = "用户自定义属性11")
|
||||
private String userDefined11;
|
||||
|
||||
/** 供应商编码 */
|
||||
@Excel(name = "供应商编码")
|
||||
private String supplierCode;
|
||||
|
||||
/** 供应商名称 */
|
||||
@Excel(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createDate;
|
||||
|
||||
/** 最后更新人 */
|
||||
@Excel(name = "最后更新人")
|
||||
private String lastUpdateBy;
|
||||
|
||||
/** 最后更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date lastUpdateDate;
|
||||
|
||||
/** 可用标识 */
|
||||
@Excel(name = "可用标识")
|
||||
private String Active;
|
||||
|
||||
private String Remark;
|
||||
|
||||
|
||||
/** 企业主键 */
|
||||
@Excel(name = "企业主键")
|
||||
private String enterpriseId;
|
||||
|
||||
/** 企业编码 */
|
||||
@Excel(name = "企业编码")
|
||||
private String enterpriseCode;
|
||||
|
||||
public void setSiteCode(String siteCode) {
|
||||
this.siteCode = siteCode;
|
||||
}
|
||||
|
||||
public String getSiteCode() {
|
||||
return siteCode;
|
||||
}
|
||||
public void setID(String ID) {
|
||||
this.ID = ID;
|
||||
}
|
||||
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
public void setOrderCode(String orderCode) {
|
||||
this.orderCode = orderCode;
|
||||
}
|
||||
|
||||
public String getOrderCode() {
|
||||
return orderCode;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialDesc(String materialDesc) {
|
||||
this.materialDesc = materialDesc;
|
||||
}
|
||||
|
||||
public String getMaterialDesc() {
|
||||
return materialDesc;
|
||||
}
|
||||
public void setPlanDate(Date planDate) {
|
||||
this.planDate = planDate;
|
||||
}
|
||||
|
||||
public Date getPlanDate() {
|
||||
return planDate;
|
||||
}
|
||||
public void setPlanNumber(BigDecimal planNumber) {
|
||||
this.planNumber = planNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getPlanNumber() {
|
||||
return planNumber;
|
||||
}
|
||||
public void setUnit(String Unit) {
|
||||
this.Unit = Unit;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return Unit;
|
||||
}
|
||||
public void setRealityNumber(BigDecimal realityNumber) {
|
||||
this.realityNumber = realityNumber;
|
||||
}
|
||||
|
||||
public BigDecimal getRealityNumber() {
|
||||
return realityNumber;
|
||||
}
|
||||
public void setOrderStatus(String orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
public void setUserDefined1(String userDefined1) {
|
||||
this.userDefined1 = userDefined1;
|
||||
}
|
||||
|
||||
public String getUserDefined1() {
|
||||
return userDefined1;
|
||||
}
|
||||
public void setUserDefined2(String userDefined2) {
|
||||
this.userDefined2 = userDefined2;
|
||||
}
|
||||
|
||||
public String getUserDefined2() {
|
||||
return userDefined2;
|
||||
}
|
||||
public void setUserDefined3(String userDefined3) {
|
||||
this.userDefined3 = userDefined3;
|
||||
}
|
||||
|
||||
public String getUserDefined3() {
|
||||
return userDefined3;
|
||||
}
|
||||
public void setUserDefined4(String userDefined4) {
|
||||
this.userDefined4 = userDefined4;
|
||||
}
|
||||
|
||||
public String getUserDefined4() {
|
||||
return userDefined4;
|
||||
}
|
||||
public void setUserDefined5(String userDefined5) {
|
||||
this.userDefined5 = userDefined5;
|
||||
}
|
||||
|
||||
public String getUserDefined5() {
|
||||
return userDefined5;
|
||||
}
|
||||
public void setUserDefined6(String userDefined6) {
|
||||
this.userDefined6 = userDefined6;
|
||||
}
|
||||
|
||||
public String getUserDefined6() {
|
||||
return userDefined6;
|
||||
}
|
||||
public void setUserDefined7(String userDefined7) {
|
||||
this.userDefined7 = userDefined7;
|
||||
}
|
||||
|
||||
public String getUserDefined7() {
|
||||
return userDefined7;
|
||||
}
|
||||
public void setUserDefined8(String userDefined8) {
|
||||
this.userDefined8 = userDefined8;
|
||||
}
|
||||
|
||||
public String getUserDefined8() {
|
||||
return userDefined8;
|
||||
}
|
||||
public void setUserDefined9(String userDefined9) {
|
||||
this.userDefined9 = userDefined9;
|
||||
}
|
||||
|
||||
public String getUserDefined9() {
|
||||
return userDefined9;
|
||||
}
|
||||
public void setUserDefined10(String userDefined10) {
|
||||
this.userDefined10 = userDefined10;
|
||||
}
|
||||
|
||||
public String getUserDefined10() {
|
||||
return userDefined10;
|
||||
}
|
||||
public void setUserDefined11(String userDefined11) {
|
||||
this.userDefined11 = userDefined11;
|
||||
}
|
||||
|
||||
public String getUserDefined11() {
|
||||
return userDefined11;
|
||||
}
|
||||
public void setSupplierCode(String supplierCode) {
|
||||
this.supplierCode = supplierCode;
|
||||
}
|
||||
|
||||
public String getSupplierCode() {
|
||||
return supplierCode;
|
||||
}
|
||||
public void setSupplierName(String supplierName) {
|
||||
this.supplierName = supplierName;
|
||||
}
|
||||
|
||||
public String getSupplierName() {
|
||||
return supplierName;
|
||||
}
|
||||
public void setCreateDate(Date createDate) {
|
||||
this.createDate = createDate;
|
||||
}
|
||||
|
||||
public Date getCreateDate() {
|
||||
return createDate;
|
||||
}
|
||||
public void setLastUpdateBy(String lastUpdateBy) {
|
||||
this.lastUpdateBy = lastUpdateBy;
|
||||
}
|
||||
|
||||
public String getLastUpdateBy() {
|
||||
return lastUpdateBy;
|
||||
}
|
||||
public void setLastUpdateDate(Date lastUpdateDate) {
|
||||
this.lastUpdateDate = lastUpdateDate;
|
||||
}
|
||||
|
||||
public Date getLastUpdateDate() {
|
||||
return lastUpdateDate;
|
||||
}
|
||||
public void setActive(String Active) {
|
||||
this.Active = Active;
|
||||
}
|
||||
|
||||
public String getActive() {
|
||||
return Active;
|
||||
}
|
||||
public void setEnterpriseId(String enterpriseId) {
|
||||
this.enterpriseId = enterpriseId;
|
||||
}
|
||||
|
||||
public String getEnterpriseId() {
|
||||
return enterpriseId;
|
||||
}
|
||||
public void setEnterpriseCode(String enterpriseCode) {
|
||||
this.enterpriseCode = enterpriseCode;
|
||||
}
|
||||
|
||||
public String getEnterpriseCode() {
|
||||
return enterpriseCode;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String Remark) {
|
||||
this.Remark = Remark;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("siteCode", getSiteCode())
|
||||
.append("ID", getID())
|
||||
.append("orderCode", getOrderCode())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialDesc", getMaterialDesc())
|
||||
.append("planDate", getPlanDate())
|
||||
.append("planNumber", getPlanNumber())
|
||||
.append("Unit", getUnit())
|
||||
.append("realityNumber", getRealityNumber())
|
||||
.append("orderStatus", getOrderStatus())
|
||||
.append("userDefined1", getUserDefined1())
|
||||
.append("userDefined2", getUserDefined2())
|
||||
.append("userDefined3", getUserDefined3())
|
||||
.append("userDefined4", getUserDefined4())
|
||||
.append("userDefined5", getUserDefined5())
|
||||
.append("userDefined6", getUserDefined6())
|
||||
.append("userDefined7", getUserDefined7())
|
||||
.append("userDefined8", getUserDefined8())
|
||||
.append("userDefined9", getUserDefined9())
|
||||
.append("userDefined10", getUserDefined10())
|
||||
.append("userDefined11", getUserDefined11())
|
||||
.append("supplierCode", getSupplierCode())
|
||||
.append("supplierName", getSupplierName())
|
||||
.append("Remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createDate", getCreateDate())
|
||||
.append("lastUpdateBy", getLastUpdateBy())
|
||||
.append("lastUpdateDate", getLastUpdateDate())
|
||||
.append("Active", getActive())
|
||||
.append("enterpriseId", getEnterpriseId())
|
||||
.append("enterpriseCode", getEnterpriseCode())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* (Purcode)实体类
|
||||
*
|
||||
* @author chenshuai
|
||||
* @since 2020-05-29 19:34:52
|
||||
*/
|
||||
public class Purcode implements Serializable {
|
||||
private static final long serialVersionUID = 155333829342519626L;
|
||||
|
||||
private Integer rowId;
|
||||
/**
|
||||
* 单据类型
|
||||
*/
|
||||
private String orderType;
|
||||
/**
|
||||
* 当天日期
|
||||
*/
|
||||
private String curDate;
|
||||
/**
|
||||
* 当天流水号
|
||||
*/
|
||||
private Integer value;
|
||||
|
||||
private String purcode;
|
||||
|
||||
private String factorycode;
|
||||
|
||||
public Integer getRowId() {
|
||||
return rowId;
|
||||
}
|
||||
|
||||
public void setRowId(Integer rowId) {
|
||||
this.rowId = rowId;
|
||||
}
|
||||
|
||||
public String getOrderType() {
|
||||
return orderType;
|
||||
}
|
||||
|
||||
public void setOrderType(String orderType) {
|
||||
this.orderType = orderType;
|
||||
}
|
||||
|
||||
public String getCurDate() {
|
||||
return curDate;
|
||||
}
|
||||
|
||||
public void setCurDate(String curDate) {
|
||||
this.curDate = curDate;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getPurcode() {
|
||||
return purcode;
|
||||
}
|
||||
|
||||
public void setPurcode(String purcode) {
|
||||
this.purcode = purcode;
|
||||
}
|
||||
|
||||
public String getFactorycode() {
|
||||
return factorycode;
|
||||
}
|
||||
|
||||
public void setFactorycode(String factorycode) {
|
||||
this.factorycode = factorycode;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.wms.domain.BasePowderOrder;
|
||||
import com.op.wms.domain.OdsRawStorageNews;
|
||||
|
||||
/**
|
||||
* 粉料采购计划Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-05
|
||||
*/
|
||||
public interface BasePowderOrderMapper {
|
||||
/**
|
||||
* 查询粉料采购计划
|
||||
*
|
||||
* @param ID 粉料采购计划主键
|
||||
* @return 粉料采购计划
|
||||
*/
|
||||
public BasePowderOrder selectBasePowderOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询粉料采购计划列表
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 粉料采购计划集合
|
||||
*/
|
||||
public List<BasePowderOrder> selectBasePowderOrderList(BasePowderOrder basePowderOrder);
|
||||
|
||||
/**
|
||||
* 新增粉料采购计划
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBasePowderOrder(BasePowderOrder basePowderOrder);
|
||||
|
||||
/**
|
||||
* 修改粉料采购计划
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBasePowderOrder(BasePowderOrder basePowderOrder);
|
||||
|
||||
/**
|
||||
* 删除粉料采购计划
|
||||
*
|
||||
* @param ID 粉料采购计划主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBasePowderOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 批量删除粉料采购计划
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBasePowderOrderByIDs(String[] IDs);
|
||||
|
||||
void updateOdsRawStorageNewsAdd(OdsRawStorageNews odsRawStorageNews);
|
||||
|
||||
OdsRawStorageNews selectOdsRawStorageNews(BasePowderOrder basePowderOrder1);
|
||||
|
||||
void insertOdsRawStorageNews(OdsRawStorageNews odsRawStorageNews1);
|
||||
|
||||
void updateOdsRawStorageNewsReturn(OdsRawStorageNews odsRawStorageNews1);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.wms.domain.OdsInventoryOrder;
|
||||
|
||||
/**
|
||||
* 包材盘点单Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface OdsInventoryOrderMapper {
|
||||
/**
|
||||
* 查询包材盘点单
|
||||
*
|
||||
* @param ID 包材盘点单主键
|
||||
* @return 包材盘点单
|
||||
*/
|
||||
public OdsInventoryOrder selectOdsInventoryOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询包材盘点单列表
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 包材盘点单集合
|
||||
*/
|
||||
public List<OdsInventoryOrder> selectOdsInventoryOrderList(OdsInventoryOrder odsInventoryOrder);
|
||||
|
||||
/**
|
||||
* 新增包材盘点单
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsInventoryOrder(OdsInventoryOrder odsInventoryOrder);
|
||||
|
||||
/**
|
||||
* 修改包材盘点单
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsInventoryOrder(OdsInventoryOrder odsInventoryOrder);
|
||||
|
||||
/**
|
||||
* 删除包材盘点单
|
||||
*
|
||||
* @param ID 包材盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsInventoryOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 批量删除包材盘点单
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsInventoryOrderByIDs(String[] IDs);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.wms.domain.OdsProcureOrder;
|
||||
|
||||
/**
|
||||
* 包材采购单Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface OdsProcureOrderMapper {
|
||||
/**
|
||||
* 查询包材采购单
|
||||
*
|
||||
* @param ID 包材采购单主键
|
||||
* @return 包材采购单
|
||||
*/
|
||||
public OdsProcureOrder selectOdsProcureOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询包材采购单列表
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 包材采购单集合
|
||||
*/
|
||||
public List<OdsProcureOrder> selectOdsProcureOrderList(OdsProcureOrder odsProcureOrder);
|
||||
|
||||
/**
|
||||
* 新增包材采购单
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsProcureOrder(OdsProcureOrder odsProcureOrder);
|
||||
|
||||
/**
|
||||
* 修改包材采购单
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsProcureOrder(OdsProcureOrder odsProcureOrder);
|
||||
|
||||
/**
|
||||
* 删除包材采购单
|
||||
*
|
||||
* @param ID 包材采购单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 批量删除包材采购单
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOrderByIDs(String[] IDs);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.wms.domain.OdsProcureOutOrder;
|
||||
|
||||
/**
|
||||
* 包材出库单Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface OdsProcureOutOrderMapper {
|
||||
/**
|
||||
* 查询包材出库单
|
||||
*
|
||||
* @param ID 包材出库单主键
|
||||
* @return 包材出库单
|
||||
*/
|
||||
public OdsProcureOutOrder selectOdsProcureOutOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询包材出库单列表
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 包材出库单集合
|
||||
*/
|
||||
public List<OdsProcureOutOrder> selectOdsProcureOutOrderList(OdsProcureOutOrder odsProcureOutOrder);
|
||||
|
||||
/**
|
||||
* 新增包材出库单
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsProcureOutOrder(OdsProcureOutOrder odsProcureOutOrder);
|
||||
|
||||
/**
|
||||
* 修改包材出库单
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsProcureOutOrder(OdsProcureOutOrder odsProcureOutOrder);
|
||||
|
||||
/**
|
||||
* 删除包材出库单
|
||||
*
|
||||
* @param ID 包材出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOutOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 批量删除包材出库单
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOutOrderByIDs(String[] IDs);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.wms.domain.OdsWhiteEmbryoInventory;
|
||||
|
||||
/**
|
||||
* 白胚盘点单Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface OdsWhiteEmbryoInventoryMapper {
|
||||
/**
|
||||
* 查询白胚盘点单
|
||||
*
|
||||
* @param ID 白胚盘点单主键
|
||||
* @return 白胚盘点单
|
||||
*/
|
||||
public OdsWhiteEmbryoInventory selectOdsWhiteEmbryoInventoryByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询白胚盘点单列表
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 白胚盘点单集合
|
||||
*/
|
||||
public List<OdsWhiteEmbryoInventory> selectOdsWhiteEmbryoInventoryList(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory);
|
||||
|
||||
/**
|
||||
* 新增白胚盘点单
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsWhiteEmbryoInventory(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory);
|
||||
|
||||
/**
|
||||
* 修改白胚盘点单
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsWhiteEmbryoInventory(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory);
|
||||
|
||||
/**
|
||||
* 删除白胚盘点单
|
||||
*
|
||||
* @param ID 白胚盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoInventoryByID(String ID);
|
||||
|
||||
/**
|
||||
* 批量删除白胚盘点单
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoInventoryByIDs(String[] IDs);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.wms.domain.OdsWhiteEmbryo;
|
||||
|
||||
/**
|
||||
* 白胚出库单Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface OdsWhiteEmbryoMapper {
|
||||
/**
|
||||
* 查询白胚出库单
|
||||
*
|
||||
* @param ID 白胚出库单主键
|
||||
* @return 白胚出库单
|
||||
*/
|
||||
public OdsWhiteEmbryo selectOdsWhiteEmbryoByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询白胚出库单列表
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 白胚出库单集合
|
||||
*/
|
||||
public List<OdsWhiteEmbryo> selectOdsWhiteEmbryoList(OdsWhiteEmbryo odsWhiteEmbryo);
|
||||
|
||||
/**
|
||||
* 新增白胚出库单
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsWhiteEmbryo(OdsWhiteEmbryo odsWhiteEmbryo);
|
||||
|
||||
/**
|
||||
* 修改白胚出库单
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsWhiteEmbryo(OdsWhiteEmbryo odsWhiteEmbryo);
|
||||
|
||||
/**
|
||||
* 删除白胚出库单
|
||||
*
|
||||
* @param ID 白胚出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoByID(String ID);
|
||||
|
||||
/**
|
||||
* 批量删除白胚出库单
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoByIDs(String[] IDs);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.wms.domain.PowderChargeOrder;
|
||||
|
||||
/**
|
||||
* 粉料配料Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-10
|
||||
*/
|
||||
public interface PowderChargeOrderMapper {
|
||||
/**
|
||||
* 查询粉料配料
|
||||
*
|
||||
* @param ID 粉料配料主键
|
||||
* @return 粉料配料
|
||||
*/
|
||||
public PowderChargeOrder selectPowderChargeOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询粉料配料列表
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 粉料配料集合
|
||||
*/
|
||||
public List<PowderChargeOrder> selectPowderChargeOrderList(PowderChargeOrder powderChargeOrder);
|
||||
|
||||
/**
|
||||
* 新增粉料配料
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPowderChargeOrder(PowderChargeOrder powderChargeOrder);
|
||||
|
||||
/**
|
||||
* 修改粉料配料
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePowderChargeOrder(PowderChargeOrder powderChargeOrder);
|
||||
|
||||
/**
|
||||
* 删除粉料配料
|
||||
*
|
||||
* @param ID 粉料配料主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePowderChargeOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 批量删除粉料配料
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePowderChargeOrderByIDs(String[] IDs);
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import com.op.wms.domain.Purcode;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PurcodeMapper {
|
||||
|
||||
Integer queryCurValue(@Param("orderType") String orderType, @Param("curDate") String curDate);
|
||||
int insert(Purcode purcode);
|
||||
int updateCurValue(@Param("orderType") String orderType,@Param("curDate") String curDate,@Param("value") int value);
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
package com.op.wms.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.wms.domain.BasePowderOrder;
|
||||
|
||||
/**
|
||||
* 粉料采购计划Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-05
|
||||
*/
|
||||
public interface IBasePowderOrderService {
|
||||
/**
|
||||
* 查询粉料采购计划
|
||||
*
|
||||
* @param ID 粉料采购计划主键
|
||||
* @return 粉料采购计划
|
||||
*/
|
||||
public BasePowderOrder selectBasePowderOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询粉料采购计划列表
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 粉料采购计划集合
|
||||
*/
|
||||
public List<BasePowderOrder> selectBasePowderOrderList(BasePowderOrder basePowderOrder);
|
||||
|
||||
/**
|
||||
* 新增粉料采购计划
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBasePowderOrder(BasePowderOrder basePowderOrder);
|
||||
|
||||
/**
|
||||
* 修改粉料采购计划
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBasePowderOrder(BasePowderOrder basePowderOrder);
|
||||
|
||||
/**
|
||||
* 批量删除粉料采购计划
|
||||
*
|
||||
* @param IDs 需要删除的粉料采购计划主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBasePowderOrderByIDs(String[] IDs);
|
||||
|
||||
/**
|
||||
* 删除粉料采购计划信息
|
||||
*
|
||||
* @param ID 粉料采购计划主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBasePowderOrderByID(String ID);
|
||||
|
||||
int confirmReceipt(BasePowderOrder basePowderOrder);
|
||||
|
||||
AjaxResult powderReturn(String[] iDs);
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
package com.op.wms.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.wms.domain.OdsInventoryOrder;
|
||||
|
||||
/**
|
||||
* 包材盘点单Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface IOdsInventoryOrderService {
|
||||
/**
|
||||
* 查询包材盘点单
|
||||
*
|
||||
* @param ID 包材盘点单主键
|
||||
* @return 包材盘点单
|
||||
*/
|
||||
public OdsInventoryOrder selectOdsInventoryOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询包材盘点单列表
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 包材盘点单集合
|
||||
*/
|
||||
public List<OdsInventoryOrder> selectOdsInventoryOrderList(OdsInventoryOrder odsInventoryOrder);
|
||||
|
||||
/**
|
||||
* 新增包材盘点单
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsInventoryOrder(OdsInventoryOrder odsInventoryOrder);
|
||||
|
||||
/**
|
||||
* 修改包材盘点单
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsInventoryOrder(OdsInventoryOrder odsInventoryOrder);
|
||||
|
||||
/**
|
||||
* 批量删除包材盘点单
|
||||
*
|
||||
* @param IDs 需要删除的包材盘点单主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsInventoryOrderByIDs(String[] IDs);
|
||||
|
||||
/**
|
||||
* 删除包材盘点单信息
|
||||
*
|
||||
* @param ID 包材盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsInventoryOrderByID(String ID);
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
package com.op.wms.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.wms.domain.OdsProcureOrder;
|
||||
|
||||
/**
|
||||
* 包材采购单Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface IOdsProcureOrderService {
|
||||
/**
|
||||
* 查询包材采购单
|
||||
*
|
||||
* @param ID 包材采购单主键
|
||||
* @return 包材采购单
|
||||
*/
|
||||
public OdsProcureOrder selectOdsProcureOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询包材采购单列表
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 包材采购单集合
|
||||
*/
|
||||
public List<OdsProcureOrder> selectOdsProcureOrderList(OdsProcureOrder odsProcureOrder);
|
||||
|
||||
/**
|
||||
* 新增包材采购单
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsProcureOrder(OdsProcureOrder odsProcureOrder);
|
||||
|
||||
/**
|
||||
* 修改包材采购单
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsProcureOrder(OdsProcureOrder odsProcureOrder);
|
||||
|
||||
/**
|
||||
* 批量删除包材采购单
|
||||
*
|
||||
* @param IDs 需要删除的包材采购单主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOrderByIDs(String[] IDs);
|
||||
|
||||
/**
|
||||
* 删除包材采购单信息
|
||||
*
|
||||
* @param ID 包材采购单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOrderByID(String ID);
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
package com.op.wms.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.wms.domain.OdsProcureOutOrder;
|
||||
|
||||
/**
|
||||
* 包材出库单Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface IOdsProcureOutOrderService {
|
||||
/**
|
||||
* 查询包材出库单
|
||||
*
|
||||
* @param ID 包材出库单主键
|
||||
* @return 包材出库单
|
||||
*/
|
||||
public OdsProcureOutOrder selectOdsProcureOutOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询包材出库单列表
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 包材出库单集合
|
||||
*/
|
||||
public List<OdsProcureOutOrder> selectOdsProcureOutOrderList(OdsProcureOutOrder odsProcureOutOrder);
|
||||
|
||||
/**
|
||||
* 新增包材出库单
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsProcureOutOrder(OdsProcureOutOrder odsProcureOutOrder);
|
||||
|
||||
/**
|
||||
* 修改包材出库单
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsProcureOutOrder(OdsProcureOutOrder odsProcureOutOrder);
|
||||
|
||||
/**
|
||||
* 批量删除包材出库单
|
||||
*
|
||||
* @param IDs 需要删除的包材出库单主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOutOrderByIDs(String[] IDs);
|
||||
|
||||
/**
|
||||
* 删除包材出库单信息
|
||||
*
|
||||
* @param ID 包材出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsProcureOutOrderByID(String ID);
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
package com.op.wms.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.wms.domain.OdsWhiteEmbryoInventory;
|
||||
|
||||
/**
|
||||
* 白胚盘点单Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface IOdsWhiteEmbryoInventoryService {
|
||||
/**
|
||||
* 查询白胚盘点单
|
||||
*
|
||||
* @param ID 白胚盘点单主键
|
||||
* @return 白胚盘点单
|
||||
*/
|
||||
public OdsWhiteEmbryoInventory selectOdsWhiteEmbryoInventoryByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询白胚盘点单列表
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 白胚盘点单集合
|
||||
*/
|
||||
public List<OdsWhiteEmbryoInventory> selectOdsWhiteEmbryoInventoryList(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory);
|
||||
|
||||
/**
|
||||
* 新增白胚盘点单
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsWhiteEmbryoInventory(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory);
|
||||
|
||||
/**
|
||||
* 修改白胚盘点单
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsWhiteEmbryoInventory(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory);
|
||||
|
||||
/**
|
||||
* 批量删除白胚盘点单
|
||||
*
|
||||
* @param IDs 需要删除的白胚盘点单主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoInventoryByIDs(String[] IDs);
|
||||
|
||||
/**
|
||||
* 删除白胚盘点单信息
|
||||
*
|
||||
* @param ID 白胚盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoInventoryByID(String ID);
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
package com.op.wms.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.wms.domain.OdsWhiteEmbryo;
|
||||
|
||||
/**
|
||||
* 白胚出库单Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface IOdsWhiteEmbryoService {
|
||||
/**
|
||||
* 查询白胚出库单
|
||||
*
|
||||
* @param ID 白胚出库单主键
|
||||
* @return 白胚出库单
|
||||
*/
|
||||
public OdsWhiteEmbryo selectOdsWhiteEmbryoByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询白胚出库单列表
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 白胚出库单集合
|
||||
*/
|
||||
public List<OdsWhiteEmbryo> selectOdsWhiteEmbryoList(OdsWhiteEmbryo odsWhiteEmbryo);
|
||||
|
||||
/**
|
||||
* 新增白胚出库单
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOdsWhiteEmbryo(OdsWhiteEmbryo odsWhiteEmbryo);
|
||||
|
||||
/**
|
||||
* 修改白胚出库单
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOdsWhiteEmbryo(OdsWhiteEmbryo odsWhiteEmbryo);
|
||||
|
||||
/**
|
||||
* 批量删除白胚出库单
|
||||
*
|
||||
* @param IDs 需要删除的白胚出库单主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoByIDs(String[] IDs);
|
||||
|
||||
/**
|
||||
* 删除白胚出库单信息
|
||||
*
|
||||
* @param ID 白胚出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOdsWhiteEmbryoByID(String ID);
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
package com.op.wms.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.wms.domain.PowderChargeOrder;
|
||||
|
||||
/**
|
||||
* 粉料配料Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-10
|
||||
*/
|
||||
public interface IPowderChargeOrderService {
|
||||
/**
|
||||
* 查询粉料配料
|
||||
*
|
||||
* @param ID 粉料配料主键
|
||||
* @return 粉料配料
|
||||
*/
|
||||
public PowderChargeOrder selectPowderChargeOrderByID(String ID);
|
||||
|
||||
/**
|
||||
* 查询粉料配料列表
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 粉料配料集合
|
||||
*/
|
||||
public List<PowderChargeOrder> selectPowderChargeOrderList(PowderChargeOrder powderChargeOrder);
|
||||
|
||||
/**
|
||||
* 新增粉料配料
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPowderChargeOrder(PowderChargeOrder powderChargeOrder);
|
||||
|
||||
/**
|
||||
* 修改粉料配料
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePowderChargeOrder(PowderChargeOrder powderChargeOrder);
|
||||
|
||||
/**
|
||||
* 批量删除粉料配料
|
||||
*
|
||||
* @param IDs 需要删除的粉料配料主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePowderChargeOrderByIDs(String[] IDs);
|
||||
|
||||
/**
|
||||
* 删除粉料配料信息
|
||||
*
|
||||
* @param ID 粉料配料主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePowderChargeOrderByID(String ID);
|
||||
}
|
||||
@ -0,0 +1,218 @@
|
||||
package com.op.wms.service.impl;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import com.op.common.core.context.SecurityContextHolder;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.wms.domain.OdsRawStorageNews;
|
||||
import com.op.wms.domain.Purcode;
|
||||
import com.op.wms.mapper.PurcodeMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.wms.mapper.BasePowderOrderMapper;
|
||||
import com.op.wms.domain.BasePowderOrder;
|
||||
import com.op.wms.service.IBasePowderOrderService;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* 粉料采购计划Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-05
|
||||
*/
|
||||
@Service
|
||||
public class BasePowderOrderServiceImpl implements IBasePowderOrderService {
|
||||
@Autowired
|
||||
private BasePowderOrderMapper basePowderOrderMapper;
|
||||
|
||||
@Autowired
|
||||
private PurcodeMapper purcodeMapper;
|
||||
|
||||
/**
|
||||
* 查询粉料采购计划
|
||||
*
|
||||
* @param ID 粉料采购计划主键
|
||||
* @return 粉料采购计划
|
||||
*/
|
||||
@Override
|
||||
public BasePowderOrder selectBasePowderOrderByID(String ID) {
|
||||
return basePowderOrderMapper.selectBasePowderOrderByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询粉料采购计划列表
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 粉料采购计划
|
||||
*/
|
||||
@Override
|
||||
public List<BasePowderOrder> selectBasePowderOrderList(BasePowderOrder basePowderOrder) {
|
||||
return basePowderOrderMapper.selectBasePowderOrderList(basePowderOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增粉料采购计划
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertBasePowderOrder(BasePowderOrder basePowderOrder) {
|
||||
String userName = SecurityContextHolder.getUserName();
|
||||
basePowderOrder.setID(UUID.randomUUID().toString());
|
||||
String orderCode =getPurcode(null,"FL");
|
||||
basePowderOrder.setUserDefined1("FL");
|
||||
basePowderOrder.setOrderCode(orderCode);
|
||||
basePowderOrder.setOrderStatus("1");
|
||||
basePowderOrder.setCreateBy(userName);
|
||||
basePowderOrder.setActive("1");
|
||||
basePowderOrder.setCreateDate(new Date());
|
||||
return basePowderOrderMapper.insertBasePowderOrder(basePowderOrder);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private String getPurcode(String factorycode, String orderType) {
|
||||
|
||||
String purcode = "";
|
||||
String curDate = new SimpleDateFormat("yyyyMMdd").format(new Date());
|
||||
|
||||
Integer vaule = purcodeMapper.queryCurValue(orderType, curDate);
|
||||
if (vaule == null) {
|
||||
Purcode purcodeO = new Purcode();
|
||||
purcodeO.setCurDate(curDate);
|
||||
purcodeO.setOrderType(orderType);
|
||||
purcodeO.setValue(1);
|
||||
int count = purcodeMapper.insert(purcodeO);
|
||||
if (count != 1) {
|
||||
return "";
|
||||
}
|
||||
if (factorycode != null && !factorycode.equals("")) {
|
||||
purcode = orderType + factorycode + curDate.substring(2) + String.format("%04d", 1);
|
||||
} else {
|
||||
purcode = orderType + curDate.substring(2) + String.format("%04d", 1);
|
||||
}
|
||||
|
||||
} else {
|
||||
int count = purcodeMapper.updateCurValue(orderType, curDate, vaule);
|
||||
if (count != 1) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if (factorycode != null && !factorycode.equals("")) {
|
||||
purcode = orderType + factorycode + curDate.substring(2) + String.format("%04d", vaule + 1);
|
||||
} else {
|
||||
purcode = orderType + curDate.substring(2) + String.format("%04d", vaule + 1);
|
||||
}
|
||||
}
|
||||
return purcode;
|
||||
}
|
||||
/**
|
||||
* 修改粉料采购计划
|
||||
*
|
||||
* @param basePowderOrder 粉料采购计划
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateBasePowderOrder(BasePowderOrder basePowderOrder) {
|
||||
return basePowderOrderMapper.updateBasePowderOrder(basePowderOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除粉料采购计划
|
||||
*
|
||||
* @param IDs 需要删除的粉料采购计划主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBasePowderOrderByIDs(String[] IDs) {
|
||||
return basePowderOrderMapper.deleteBasePowderOrderByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除粉料采购计划信息
|
||||
*
|
||||
* @param ID 粉料采购计划主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBasePowderOrderByID(String ID) {
|
||||
return basePowderOrderMapper.deleteBasePowderOrderByID(ID);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
@Override
|
||||
public int confirmReceipt(BasePowderOrder basePowderOrder) {
|
||||
BasePowderOrder basePowderOrder1 = new BasePowderOrder();
|
||||
String siteCode = basePowderOrder.getSiteCode();
|
||||
String userName = SecurityContextHolder.getUserName();
|
||||
//修改状态 改为收货完成 ,送货数量---即是整车重量减空车重量,把送货数量放入库存 --- 放入库存 ----
|
||||
basePowderOrder1.setID(basePowderOrder.getID());
|
||||
basePowderOrder1.setEmptyNumber(basePowderOrder.getEmptyNumber());//空车重量
|
||||
basePowderOrder1.setComNumber(basePowderOrder.getComNumber());//整车重量
|
||||
basePowderOrder1.setOrderStatus("3");
|
||||
basePowderOrder1.setLastUpdateBy(userName);
|
||||
basePowderOrder1.setSiteCode(siteCode);
|
||||
basePowderOrder1.setLastUpdateDate(new Date());
|
||||
BigDecimal number = basePowderOrder.getComNumber().subtract(basePowderOrder.getEmptyNumber());
|
||||
basePowderOrder1.setRealityNumber(number);//整车重量减空车重量 ------真实数量
|
||||
int tem = basePowderOrderMapper.updateBasePowderOrder(basePowderOrder1);
|
||||
//把库存放入库存表
|
||||
basePowderOrder1.setLocCode(basePowderOrder.getLocCode());
|
||||
basePowderOrder1.setMaterialCode(basePowderOrder.getMaterialCode());
|
||||
//先查询有没有这个库存,如果有就放入,如果没有就新增
|
||||
OdsRawStorageNews odsRawStorageNews = basePowderOrderMapper.selectOdsRawStorageNews(basePowderOrder1);
|
||||
if (odsRawStorageNews!=null){
|
||||
OdsRawStorageNews odsRawStorageNews1 = new OdsRawStorageNews();
|
||||
odsRawStorageNews1.setStorageId(odsRawStorageNews.getStorageId());
|
||||
odsRawStorageNews1.setAmount(number);
|
||||
basePowderOrderMapper.updateOdsRawStorageNewsAdd(odsRawStorageNews);
|
||||
}else {
|
||||
OdsRawStorageNews odsRawStorageNews1 = new OdsRawStorageNews();
|
||||
odsRawStorageNews1.setStorageId(UUID.randomUUID().toString());
|
||||
odsRawStorageNews1.setSiteCode(siteCode);
|
||||
odsRawStorageNews1.setCreateBy(userName);
|
||||
odsRawStorageNews1.setCreateTime(new Date());
|
||||
odsRawStorageNews1.setWlCode(basePowderOrder.getLocCode());//库位
|
||||
odsRawStorageNews1.setMaterialCode(basePowderOrder.getMaterialCode());//物料
|
||||
odsRawStorageNews1.setMaterialDesc(basePowderOrder.getMaterialDesc());
|
||||
odsRawStorageNews1.setAmount(number);//数量
|
||||
odsRawStorageNews1.setStorageType("1");//
|
||||
odsRawStorageNews1.setStorageAmount(number);//冻结数量---先冻结 不能算真正入库---质检合格再后解冻入库
|
||||
basePowderOrderMapper.insertOdsRawStorageNews(odsRawStorageNews1);
|
||||
}
|
||||
return tem;
|
||||
}
|
||||
@Transactional
|
||||
@Override
|
||||
public AjaxResult powderReturn(String[] iDs) {
|
||||
for (String id:
|
||||
iDs) {//只退回不合格的
|
||||
BasePowderOrder basePowderOrder= basePowderOrderMapper.selectBasePowderOrderByID(id);
|
||||
if ((basePowderOrder.getUserDefined2()==null||"1".equals(basePowderOrder.getUserDefined2()))){
|
||||
return AjaxResult.error("只退回不合格的");
|
||||
}else if ("2".equals(basePowderOrder.getOrderStatus())){
|
||||
return AjaxResult.error("已经退回了");
|
||||
}
|
||||
}
|
||||
for (String id:
|
||||
iDs) {
|
||||
BasePowderOrder basePowderOrder = basePowderOrderMapper.selectBasePowderOrderByID(id);
|
||||
OdsRawStorageNews odsRawStorageNews1 = new OdsRawStorageNews();
|
||||
odsRawStorageNews1.setSiteCode(basePowderOrder.getSiteCode());
|
||||
odsRawStorageNews1.setMaterialCode(basePowderOrder.getMaterialCode());
|
||||
odsRawStorageNews1.setWlCode(basePowderOrder.getLocCode());
|
||||
odsRawStorageNews1.setAmount(basePowderOrder.getRealityNumber());
|
||||
basePowderOrderMapper.updateOdsRawStorageNewsReturn(odsRawStorageNews1);
|
||||
BasePowderOrder basePowderOrder1 = new BasePowderOrder();
|
||||
basePowderOrder1.setID(id);
|
||||
basePowderOrder1.setOrderStatus("2");//退回
|
||||
basePowderOrderMapper.updateBasePowderOrder(basePowderOrder);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
package com.op.wms.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.wms.mapper.OdsInventoryOrderMapper;
|
||||
import com.op.wms.domain.OdsInventoryOrder;
|
||||
import com.op.wms.service.IOdsInventoryOrderService;
|
||||
|
||||
/**
|
||||
* 包材盘点单Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@Service
|
||||
public class OdsInventoryOrderServiceImpl implements IOdsInventoryOrderService {
|
||||
@Autowired
|
||||
private OdsInventoryOrderMapper odsInventoryOrderMapper;
|
||||
|
||||
/**
|
||||
* 查询包材盘点单
|
||||
*
|
||||
* @param ID 包材盘点单主键
|
||||
* @return 包材盘点单
|
||||
*/
|
||||
@Override
|
||||
public OdsInventoryOrder selectOdsInventoryOrderByID(String ID) {
|
||||
return odsInventoryOrderMapper.selectOdsInventoryOrderByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询包材盘点单列表
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 包材盘点单
|
||||
*/
|
||||
@Override
|
||||
public List<OdsInventoryOrder> selectOdsInventoryOrderList(OdsInventoryOrder odsInventoryOrder) {
|
||||
return odsInventoryOrderMapper.selectOdsInventoryOrderList(odsInventoryOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增包材盘点单
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertOdsInventoryOrder(OdsInventoryOrder odsInventoryOrder) {
|
||||
return odsInventoryOrderMapper.insertOdsInventoryOrder(odsInventoryOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改包材盘点单
|
||||
*
|
||||
* @param odsInventoryOrder 包材盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateOdsInventoryOrder(OdsInventoryOrder odsInventoryOrder) {
|
||||
return odsInventoryOrderMapper.updateOdsInventoryOrder(odsInventoryOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除包材盘点单
|
||||
*
|
||||
* @param IDs 需要删除的包材盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsInventoryOrderByIDs(String[] IDs) {
|
||||
return odsInventoryOrderMapper.deleteOdsInventoryOrderByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除包材盘点单信息
|
||||
*
|
||||
* @param ID 包材盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsInventoryOrderByID(String ID) {
|
||||
return odsInventoryOrderMapper.deleteOdsInventoryOrderByID(ID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
package com.op.wms.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.wms.mapper.OdsProcureOrderMapper;
|
||||
import com.op.wms.domain.OdsProcureOrder;
|
||||
import com.op.wms.service.IOdsProcureOrderService;
|
||||
|
||||
/**
|
||||
* 包材采购单Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@Service
|
||||
public class OdsProcureOrderServiceImpl implements IOdsProcureOrderService {
|
||||
@Autowired
|
||||
private OdsProcureOrderMapper odsProcureOrderMapper;
|
||||
|
||||
/**
|
||||
* 查询包材采购单
|
||||
*
|
||||
* @param ID 包材采购单主键
|
||||
* @return 包材采购单
|
||||
*/
|
||||
@Override
|
||||
public OdsProcureOrder selectOdsProcureOrderByID(String ID) {
|
||||
return odsProcureOrderMapper.selectOdsProcureOrderByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询包材采购单列表
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 包材采购单
|
||||
*/
|
||||
@Override
|
||||
public List<OdsProcureOrder> selectOdsProcureOrderList(OdsProcureOrder odsProcureOrder) {
|
||||
return odsProcureOrderMapper.selectOdsProcureOrderList(odsProcureOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增包材采购单
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertOdsProcureOrder(OdsProcureOrder odsProcureOrder) {
|
||||
return odsProcureOrderMapper.insertOdsProcureOrder(odsProcureOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改包材采购单
|
||||
*
|
||||
* @param odsProcureOrder 包材采购单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateOdsProcureOrder(OdsProcureOrder odsProcureOrder) {
|
||||
return odsProcureOrderMapper.updateOdsProcureOrder(odsProcureOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除包材采购单
|
||||
*
|
||||
* @param IDs 需要删除的包材采购单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsProcureOrderByIDs(String[] IDs) {
|
||||
return odsProcureOrderMapper.deleteOdsProcureOrderByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除包材采购单信息
|
||||
*
|
||||
* @param ID 包材采购单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsProcureOrderByID(String ID) {
|
||||
return odsProcureOrderMapper.deleteOdsProcureOrderByID(ID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
package com.op.wms.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.wms.mapper.OdsProcureOutOrderMapper;
|
||||
import com.op.wms.domain.OdsProcureOutOrder;
|
||||
import com.op.wms.service.IOdsProcureOutOrderService;
|
||||
|
||||
/**
|
||||
* 包材出库单Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@Service
|
||||
public class OdsProcureOutOrderServiceImpl implements IOdsProcureOutOrderService {
|
||||
@Autowired
|
||||
private OdsProcureOutOrderMapper odsProcureOutOrderMapper;
|
||||
|
||||
/**
|
||||
* 查询包材出库单
|
||||
*
|
||||
* @param ID 包材出库单主键
|
||||
* @return 包材出库单
|
||||
*/
|
||||
@Override
|
||||
public OdsProcureOutOrder selectOdsProcureOutOrderByID(String ID) {
|
||||
return odsProcureOutOrderMapper.selectOdsProcureOutOrderByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询包材出库单列表
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 包材出库单
|
||||
*/
|
||||
@Override
|
||||
public List<OdsProcureOutOrder> selectOdsProcureOutOrderList(OdsProcureOutOrder odsProcureOutOrder) {
|
||||
return odsProcureOutOrderMapper.selectOdsProcureOutOrderList(odsProcureOutOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增包材出库单
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertOdsProcureOutOrder(OdsProcureOutOrder odsProcureOutOrder) {
|
||||
return odsProcureOutOrderMapper.insertOdsProcureOutOrder(odsProcureOutOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改包材出库单
|
||||
*
|
||||
* @param odsProcureOutOrder 包材出库单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateOdsProcureOutOrder(OdsProcureOutOrder odsProcureOutOrder) {
|
||||
return odsProcureOutOrderMapper.updateOdsProcureOutOrder(odsProcureOutOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除包材出库单
|
||||
*
|
||||
* @param IDs 需要删除的包材出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsProcureOutOrderByIDs(String[] IDs) {
|
||||
return odsProcureOutOrderMapper.deleteOdsProcureOutOrderByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除包材出库单信息
|
||||
*
|
||||
* @param ID 包材出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsProcureOutOrderByID(String ID) {
|
||||
return odsProcureOutOrderMapper.deleteOdsProcureOutOrderByID(ID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
package com.op.wms.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.wms.mapper.OdsWhiteEmbryoInventoryMapper;
|
||||
import com.op.wms.domain.OdsWhiteEmbryoInventory;
|
||||
import com.op.wms.service.IOdsWhiteEmbryoInventoryService;
|
||||
|
||||
/**
|
||||
* 白胚盘点单Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@Service
|
||||
public class OdsWhiteEmbryoInventoryServiceImpl implements IOdsWhiteEmbryoInventoryService {
|
||||
@Autowired
|
||||
private OdsWhiteEmbryoInventoryMapper odsWhiteEmbryoInventoryMapper;
|
||||
|
||||
/**
|
||||
* 查询白胚盘点单
|
||||
*
|
||||
* @param ID 白胚盘点单主键
|
||||
* @return 白胚盘点单
|
||||
*/
|
||||
@Override
|
||||
public OdsWhiteEmbryoInventory selectOdsWhiteEmbryoInventoryByID(String ID) {
|
||||
return odsWhiteEmbryoInventoryMapper.selectOdsWhiteEmbryoInventoryByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询白胚盘点单列表
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 白胚盘点单
|
||||
*/
|
||||
@Override
|
||||
public List<OdsWhiteEmbryoInventory> selectOdsWhiteEmbryoInventoryList(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory) {
|
||||
return odsWhiteEmbryoInventoryMapper.selectOdsWhiteEmbryoInventoryList(odsWhiteEmbryoInventory);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增白胚盘点单
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertOdsWhiteEmbryoInventory(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory) {
|
||||
return odsWhiteEmbryoInventoryMapper.insertOdsWhiteEmbryoInventory(odsWhiteEmbryoInventory);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改白胚盘点单
|
||||
*
|
||||
* @param odsWhiteEmbryoInventory 白胚盘点单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateOdsWhiteEmbryoInventory(OdsWhiteEmbryoInventory odsWhiteEmbryoInventory) {
|
||||
return odsWhiteEmbryoInventoryMapper.updateOdsWhiteEmbryoInventory(odsWhiteEmbryoInventory);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除白胚盘点单
|
||||
*
|
||||
* @param IDs 需要删除的白胚盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsWhiteEmbryoInventoryByIDs(String[] IDs) {
|
||||
return odsWhiteEmbryoInventoryMapper.deleteOdsWhiteEmbryoInventoryByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除白胚盘点单信息
|
||||
*
|
||||
* @param ID 白胚盘点单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsWhiteEmbryoInventoryByID(String ID) {
|
||||
return odsWhiteEmbryoInventoryMapper.deleteOdsWhiteEmbryoInventoryByID(ID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
package com.op.wms.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.wms.mapper.OdsWhiteEmbryoMapper;
|
||||
import com.op.wms.domain.OdsWhiteEmbryo;
|
||||
import com.op.wms.service.IOdsWhiteEmbryoService;
|
||||
|
||||
/**
|
||||
* 白胚出库单Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
@Service
|
||||
public class OdsWhiteEmbryoServiceImpl implements IOdsWhiteEmbryoService {
|
||||
@Autowired
|
||||
private OdsWhiteEmbryoMapper odsWhiteEmbryoMapper;
|
||||
|
||||
/**
|
||||
* 查询白胚出库单
|
||||
*
|
||||
* @param ID 白胚出库单主键
|
||||
* @return 白胚出库单
|
||||
*/
|
||||
@Override
|
||||
public OdsWhiteEmbryo selectOdsWhiteEmbryoByID(String ID) {
|
||||
return odsWhiteEmbryoMapper.selectOdsWhiteEmbryoByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询白胚出库单列表
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 白胚出库单
|
||||
*/
|
||||
@Override
|
||||
public List<OdsWhiteEmbryo> selectOdsWhiteEmbryoList(OdsWhiteEmbryo odsWhiteEmbryo) {
|
||||
return odsWhiteEmbryoMapper.selectOdsWhiteEmbryoList(odsWhiteEmbryo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增白胚出库单
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertOdsWhiteEmbryo(OdsWhiteEmbryo odsWhiteEmbryo) {
|
||||
return odsWhiteEmbryoMapper.insertOdsWhiteEmbryo(odsWhiteEmbryo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改白胚出库单
|
||||
*
|
||||
* @param odsWhiteEmbryo 白胚出库单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateOdsWhiteEmbryo(OdsWhiteEmbryo odsWhiteEmbryo) {
|
||||
return odsWhiteEmbryoMapper.updateOdsWhiteEmbryo(odsWhiteEmbryo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除白胚出库单
|
||||
*
|
||||
* @param IDs 需要删除的白胚出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsWhiteEmbryoByIDs(String[] IDs) {
|
||||
return odsWhiteEmbryoMapper.deleteOdsWhiteEmbryoByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除白胚出库单信息
|
||||
*
|
||||
* @param ID 白胚出库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOdsWhiteEmbryoByID(String ID) {
|
||||
return odsWhiteEmbryoMapper.deleteOdsWhiteEmbryoByID(ID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
package com.op.wms.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.wms.mapper.PowderChargeOrderMapper;
|
||||
import com.op.wms.domain.PowderChargeOrder;
|
||||
import com.op.wms.service.IPowderChargeOrderService;
|
||||
|
||||
/**
|
||||
* 粉料配料Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-07-10
|
||||
*/
|
||||
@Service
|
||||
public class PowderChargeOrderServiceImpl implements IPowderChargeOrderService {
|
||||
@Autowired
|
||||
private PowderChargeOrderMapper powderChargeOrderMapper;
|
||||
|
||||
/**
|
||||
* 查询粉料配料
|
||||
*
|
||||
* @param ID 粉料配料主键
|
||||
* @return 粉料配料
|
||||
*/
|
||||
@Override
|
||||
public PowderChargeOrder selectPowderChargeOrderByID(String ID) {
|
||||
return powderChargeOrderMapper.selectPowderChargeOrderByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询粉料配料列表
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 粉料配料
|
||||
*/
|
||||
@Override
|
||||
public List<PowderChargeOrder> selectPowderChargeOrderList(PowderChargeOrder powderChargeOrder) {
|
||||
return powderChargeOrderMapper.selectPowderChargeOrderList(powderChargeOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增粉料配料
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPowderChargeOrder(PowderChargeOrder powderChargeOrder) {
|
||||
return powderChargeOrderMapper.insertPowderChargeOrder(powderChargeOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改粉料配料
|
||||
*
|
||||
* @param powderChargeOrder 粉料配料
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePowderChargeOrder(PowderChargeOrder powderChargeOrder) {
|
||||
return powderChargeOrderMapper.updatePowderChargeOrder(powderChargeOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除粉料配料
|
||||
*
|
||||
* @param IDs 需要删除的粉料配料主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePowderChargeOrderByIDs(String[] IDs) {
|
||||
return powderChargeOrderMapper.deletePowderChargeOrderByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除粉料配料信息
|
||||
*
|
||||
* @param ID 粉料配料主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePowderChargeOrderByID(String ID) {
|
||||
return powderChargeOrderMapper.deletePowderChargeOrderByID(ID);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,277 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.BasePowderOrderMapper">
|
||||
|
||||
<resultMap type="BasePowderOrder" id="BasePowderOrderResult">
|
||||
<result property="siteCode" column="Site_code" />
|
||||
<result property="ID" column="ID" />
|
||||
<result property="orderCode" column="Order_Code" />
|
||||
<result property="materialCode" column="Material_Code" />
|
||||
<result property="materialDesc" column="Material_Desc" />
|
||||
<result property="planDate" column="Plan_Date" />
|
||||
<result property="planNumber" column="Plan_Number" />
|
||||
<result property="Unit" column="Unit" />
|
||||
<result property="realityNumber" column="Reality_Number" />
|
||||
<result property="orderStatus" column="Order_Status" />
|
||||
<result property="userDefined1" column="User_Defined1" />
|
||||
<result property="userDefined2" column="User_Defined2" />
|
||||
<result property="userDefined3" column="User_Defined3" />
|
||||
<result property="userDefined4" column="User_Defined4" />
|
||||
<result property="userDefined5" column="User_Defined5" />
|
||||
<result property="userDefined6" column="User_Defined6" />
|
||||
<result property="userDefined7" column="User_Defined7" />
|
||||
<result property="userDefined8" column="User_Defined8" />
|
||||
<result property="userDefined9" column="User_Defined9" />
|
||||
<result property="userDefined10" column="User_Defined10" />
|
||||
<result property="userDefined11" column="User_Defined11" />
|
||||
<result property="supplierCode" column="Supplier_Code" />
|
||||
<result property="supplierName" column="Supplier_Name" />
|
||||
<result property="Remark" column="Remark" />
|
||||
<result property="createBy" column="Create_By" />
|
||||
<result property="createDate" column="Create_Date" />
|
||||
<result property="lastUpdateBy" column="Last_Update_By" />
|
||||
<result property="lastUpdateDate" column="Last_Update_Date" />
|
||||
<result property="Active" column="Active" />
|
||||
<result property="enterpriseId" column="Enterprise_Id" />
|
||||
<result property="enterpriseCode" column="Enterprise_Code" />
|
||||
<result property="lssuedNumber" column="Lssued_Number" />
|
||||
<result property="comNumber" column="Com_Number" />
|
||||
<result property="emptyNumber" column="Empty_Number" />
|
||||
<result property="locCode" column="Loc_Code" />
|
||||
<result property="locDesc" column="Loc_Desc" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBasePowderOrderVo">
|
||||
select Loc_Code, Loc_Desc,Com_Number,Empty_Number, Site_code, ID, Order_Code, Material_Code, Material_Desc, Plan_Date, Plan_Number, Unit, Reality_Number, Order_Status, User_Defined1, User_Defined2, User_Defined3, User_Defined4, User_Defined5, User_Defined6, User_Defined7, User_Defined8, User_Defined9, User_Defined10, User_Defined11, Supplier_Code, Supplier_Name, Remark, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code, Lssued_Number from powder_order
|
||||
</sql>
|
||||
|
||||
<select id="selectBasePowderOrderList" parameterType="BasePowderOrder" resultMap="BasePowderOrderResult">
|
||||
<include refid="selectBasePowderOrderVo"/>
|
||||
<where>
|
||||
<if test="siteCode != null and siteCode != ''"> and Site_code = #{siteCode}</if>
|
||||
<if test="orderCode != null and orderCode != ''"> and Order_Code = #{orderCode}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and Material_Code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and Material_Desc = #{materialDesc}</if>
|
||||
<if test="planDate != null "> and Plan_Date = #{planDate}</if>
|
||||
<if test="planNumber != null "> and Plan_Number = #{planNumber}</if>
|
||||
<if test="Unit != null and Unit != ''"> and Unit = #{Unit}</if>
|
||||
<if test="realityNumber != null "> and Reality_Number = #{realityNumber}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and Order_Status = #{orderStatus}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and User_Defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and User_Defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and User_Defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and User_Defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and User_Defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and User_Defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and User_Defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and User_Defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and User_Defined10 = #{userDefined10}</if>
|
||||
<if test="userDefined11 != null and userDefined11 != ''"> and User_Defined11 = #{userDefined11}</if>
|
||||
<if test="supplierCode != null and supplierCode != ''"> and Supplier_Code = #{supplierCode}</if>
|
||||
<if test="supplierName != null and supplierName != ''"> and Supplier_Name like concat('%', #{supplierName}, '%')</if>
|
||||
<if test="Remark != null and Remark != ''"> and Remark = #{Remark}</if>
|
||||
<if test="createBy != null and createBy != ''"> and Create_By = #{createBy}</if>
|
||||
<if test="createDate != null "> and Create_Date = #{createDate}</if>
|
||||
<if test="lastUpdateBy != null and lastUpdateBy != ''"> and Last_Update_By = #{lastUpdateBy}</if>
|
||||
<if test="lastUpdateDate != null "> and Last_Update_Date = #{lastUpdateDate}</if>
|
||||
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
|
||||
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
|
||||
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
|
||||
<if test="lssuedNumber != null and lssuedNumber != ''"> and Lssued_Number = #{lssuedNumber}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBasePowderOrderByID" parameterType="String" resultMap="BasePowderOrderResult">
|
||||
<include refid="selectBasePowderOrderVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertBasePowderOrder" parameterType="BasePowderOrder">
|
||||
insert into powder_order
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="ID != null">ID,</if>
|
||||
<if test="orderCode != null">Order_Code,</if>
|
||||
<if test="materialCode != null">Material_Code,</if>
|
||||
<if test="materialDesc != null">Material_Desc,</if>
|
||||
<if test="planDate != null">Plan_Date,</if>
|
||||
<if test="planNumber != null">Plan_Number,</if>
|
||||
<if test="Unit != null">Unit,</if>
|
||||
<if test="realityNumber != null">Reality_Number,</if>
|
||||
<if test="orderStatus != null">Order_Status,</if>
|
||||
<if test="userDefined1 != null">User_Defined1,</if>
|
||||
<if test="userDefined2 != null">User_Defined2,</if>
|
||||
<if test="userDefined3 != null">User_Defined3,</if>
|
||||
<if test="userDefined4 != null">User_Defined4,</if>
|
||||
<if test="userDefined5 != null">User_Defined5,</if>
|
||||
<if test="userDefined6 != null">User_Defined6,</if>
|
||||
<if test="userDefined7 != null">User_Defined7,</if>
|
||||
<if test="userDefined8 != null">User_Defined8,</if>
|
||||
<if test="userDefined9 != null">User_Defined9,</if>
|
||||
<if test="userDefined10 != null">User_Defined10,</if>
|
||||
<if test="userDefined11 != null">User_Defined11,</if>
|
||||
<if test="supplierCode != null">Supplier_Code,</if>
|
||||
<if test="supplierName != null">Supplier_Name,</if>
|
||||
<if test="Remark != null">Remark,</if>
|
||||
<if test="createBy != null">Create_By,</if>
|
||||
<if test="createDate != null">Create_Date,</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By,</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date,</if>
|
||||
<if test="Active != null">Active,</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id,</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code,</if>
|
||||
<if test="lssuedNumber != null">Lssued_Number,</if>
|
||||
<if test="locCode != null">Loc_Code,</if>
|
||||
<if test="locDesc != null">Loc_Desc,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="ID != null">#{ID},</if>
|
||||
<if test="orderCode != null">#{orderCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="planDate != null">#{planDate},</if>
|
||||
<if test="planNumber != null">#{planNumber},</if>
|
||||
<if test="Unit != null">#{Unit},</if>
|
||||
<if test="realityNumber != null">#{realityNumber},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="userDefined11 != null">#{userDefined11},</if>
|
||||
<if test="supplierCode != null">#{supplierCode},</if>
|
||||
<if test="supplierName != null">#{supplierName},</if>
|
||||
<if test="Remark != null">#{Remark},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createDate != null">#{createDate},</if>
|
||||
<if test="lastUpdateBy != null">#{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">#{lastUpdateDate},</if>
|
||||
<if test="Active != null">#{Active},</if>
|
||||
<if test="enterpriseId != null">#{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">#{enterpriseCode},</if>
|
||||
<if test="lssuedNumber != null">#{lssuedNumber},</if>
|
||||
<if test="locCode != null">#{locCode},</if>
|
||||
<if test="locDesc != null">#{locDesc},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBasePowderOrder">
|
||||
update powder_order
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
||||
<if test="orderCode != null">Order_Code = #{orderCode},</if>
|
||||
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
||||
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
||||
<if test="planNumber != null">Plan_Number = #{planNumber},</if>
|
||||
<if test="Unit != null">Unit = #{Unit},</if>
|
||||
<if test="realityNumber != null">Reality_Number = #{realityNumber},</if>
|
||||
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
||||
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
||||
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
||||
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
||||
<if test="supplierCode != null">Supplier_Code = #{supplierCode},</if>
|
||||
<if test="supplierName != null">Supplier_Name = #{supplierName},</if>
|
||||
<if test="Remark != null">Remark = #{Remark},</if>
|
||||
<if test="createBy != null">Create_By = #{createBy},</if>
|
||||
<if test="createDate != null">Create_Date = #{createDate},</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
||||
<if test="Active != null">Active = #{Active},</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
||||
<if test="lssuedNumber != null">Lssued_Number = #{lssuedNumber},</if>
|
||||
<if test="comNumber != null">Com_Number = #{comNumber},</if>
|
||||
<if test="emptyNumber != null">Empty_Number = #{emptyNumber},</if>
|
||||
<if test="locCode != null">Loc_Code = #{locCode},</if>
|
||||
<if test="locDesc != null">Loc_Desc = #{locDesc},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBasePowderOrderByID" parameterType="String">
|
||||
delete from powder_order where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBasePowderOrderByIDs" parameterType="String">
|
||||
delete from powder_order where Order_Status = '1' and ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
|
||||
</delete>
|
||||
<update id="updateOdsRawStorageNewsAdd">
|
||||
update ods_raw_storage_news
|
||||
set amount = amount + #{amount}
|
||||
,storage_amount =storage_amount+ #{amount}
|
||||
where storage_id =#{storageId}
|
||||
</update>
|
||||
<insert id="insertOdsRawStorageNews">
|
||||
insert into ods_raw_storage_news
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="storageId != null">storage_id,</if>
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="storageType != null">storage_type,</if>
|
||||
<if test="wlCode != null">wl_code,</if>
|
||||
<if test="materialCode != null">material_code,</if>
|
||||
<if test="materialDesc != null">material_desc,</if>
|
||||
<if test="amount != null">amount,</if>
|
||||
<if test="storageAmount != null">storage_amount,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">gmt_create,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="storageId != null">#{storageId},</if>
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="storageType != null">#{storageType},</if>
|
||||
<if test="wlCode != null">#{wlCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="amount != null">#{amount},</if>
|
||||
<if test="storageAmount != null">#{storageAmount},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="selectOdsRawStorageNews" resultType="com.op.wms.domain.OdsRawStorageNews">
|
||||
select storage_id as storageId,wl_code as wlCode,material_code as materialCode,material_desc as materialDesc,amount as amount,site_code as siteCode
|
||||
from ods_raw_storage_news
|
||||
where
|
||||
active_flag = '1'
|
||||
<if test="siteCode != null">
|
||||
and Site_code= #{siteCode}
|
||||
</if>
|
||||
and wl_code =#{locCode}
|
||||
and material_code = #{materialCode}
|
||||
</select>
|
||||
<update id="updateOdsRawStorageNewsReturn">
|
||||
update ods_raw_storage_news
|
||||
set amount = amount - #{amount}
|
||||
,storage_amount =storage_amount- #{amount}
|
||||
where
|
||||
active_flag = '1'
|
||||
<if test="siteCode != null">
|
||||
and Site_code= #{siteCode}
|
||||
</if>
|
||||
and wl_code =#{wlCode}
|
||||
and material_code = #{materialCode}
|
||||
</update>
|
||||
</mapper>
|
||||
@ -0,0 +1,193 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.OdsInventoryOrderMapper">
|
||||
|
||||
<resultMap type="OdsInventoryOrder" id="OdsInventoryOrderResult">
|
||||
<result property="siteCode" column="Site_code" />
|
||||
<result property="ID" column="ID" />
|
||||
<result property="orderInventCode" column="Order_Invent_Code" />
|
||||
<result property="materialCode" column="Material_Code" />
|
||||
<result property="materialDesc" column="Material_Desc" />
|
||||
<result property="planDate" column="Plan_Date" />
|
||||
<result property="locNumber" column="Loc_Number" />
|
||||
<result property="realityNumber" column="Reality_Number" />
|
||||
<result property="orderStatus" column="Order_Status" />
|
||||
<result property="userDefined1" column="User_Defined1" />
|
||||
<result property="locCode" column="Loc_Code" />
|
||||
<result property="userDefined2" column="User_Defined2" />
|
||||
<result property="userDefined3" column="User_Defined3" />
|
||||
<result property="userDefined4" column="User_Defined4" />
|
||||
<result property="userDefined5" column="User_Defined5" />
|
||||
<result property="userDefined6" column="User_Defined6" />
|
||||
<result property="userDefined7" column="User_Defined7" />
|
||||
<result property="userDefined8" column="User_Defined8" />
|
||||
<result property="userDefined9" column="User_Defined9" />
|
||||
<result property="userDefined10" column="User_Defined10" />
|
||||
<result property="userDefined11" column="User_Defined11" />
|
||||
<result property="Remark" column="Remark" />
|
||||
<result property="createBy" column="Create_By" />
|
||||
<result property="createDate" column="Create_Date" />
|
||||
<result property="lastUpdateBy" column="Last_Update_By" />
|
||||
<result property="lastUpdateDate" column="Last_Update_Date" />
|
||||
<result property="Active" column="Active" />
|
||||
<result property="enterpriseId" column="Enterprise_Id" />
|
||||
<result property="enterpriseCode" column="Enterprise_Code" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectOdsInventoryOrderVo">
|
||||
select Site_code, ID, Order_Invent_Code, Material_Code, Material_Desc, Plan_Date, Loc_Number, Reality_Number, Order_Status, User_Defined1, Loc_Code, User_Defined2, User_Defined3, User_Defined4, User_Defined5, User_Defined6, User_Defined7, User_Defined8, User_Defined9, User_Defined10, User_Defined11, Remark, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code from ods_Inventory_order
|
||||
</sql>
|
||||
|
||||
<select id="selectOdsInventoryOrderList" parameterType="OdsInventoryOrder" resultMap="OdsInventoryOrderResult">
|
||||
<include refid="selectOdsInventoryOrderVo"/>
|
||||
<where>
|
||||
<if test="siteCode != null and siteCode != ''"> and Site_code = #{siteCode}</if>
|
||||
<if test="orderInventCode != null and orderInventCode != ''"> and Order_Invent_Code = #{orderInventCode}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and Material_Code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and Material_Desc = #{materialDesc}</if>
|
||||
<if test="planDate != null "> and Plan_Date = #{planDate}</if>
|
||||
<if test="locNumber != null "> and Loc_Number = #{locNumber}</if>
|
||||
<if test="realityNumber != null "> and Reality_Number = #{realityNumber}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and Order_Status = #{orderStatus}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
||||
<if test="locCode != null and locCode != ''"> and Loc_Code = #{locCode}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and User_Defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and User_Defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and User_Defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and User_Defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and User_Defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and User_Defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and User_Defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and User_Defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and User_Defined10 = #{userDefined10}</if>
|
||||
<if test="userDefined11 != null and userDefined11 != ''"> and User_Defined11 = #{userDefined11}</if>
|
||||
<if test="Remark != null and Remark != ''"> and Remark = #{Remark}</if>
|
||||
<if test="createBy != null and createBy != ''"> and Create_By = #{createBy}</if>
|
||||
<if test="createDate != null "> and Create_Date = #{createDate}</if>
|
||||
<if test="lastUpdateBy != null and lastUpdateBy != ''"> and Last_Update_By = #{lastUpdateBy}</if>
|
||||
<if test="lastUpdateDate != null "> and Last_Update_Date = #{lastUpdateDate}</if>
|
||||
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
|
||||
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
|
||||
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectOdsInventoryOrderByID" parameterType="String" resultMap="OdsInventoryOrderResult">
|
||||
<include refid="selectOdsInventoryOrderVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertOdsInventoryOrder" parameterType="OdsInventoryOrder">
|
||||
insert into ods_Inventory_order
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="ID != null">ID,</if>
|
||||
<if test="orderInventCode != null">Order_Invent_Code,</if>
|
||||
<if test="materialCode != null">Material_Code,</if>
|
||||
<if test="materialDesc != null">Material_Desc,</if>
|
||||
<if test="planDate != null">Plan_Date,</if>
|
||||
<if test="locNumber != null">Loc_Number,</if>
|
||||
<if test="realityNumber != null">Reality_Number,</if>
|
||||
<if test="orderStatus != null">Order_Status,</if>
|
||||
<if test="userDefined1 != null">User_Defined1,</if>
|
||||
<if test="locCode != null">Loc_Code,</if>
|
||||
<if test="userDefined2 != null">User_Defined2,</if>
|
||||
<if test="userDefined3 != null">User_Defined3,</if>
|
||||
<if test="userDefined4 != null">User_Defined4,</if>
|
||||
<if test="userDefined5 != null">User_Defined5,</if>
|
||||
<if test="userDefined6 != null">User_Defined6,</if>
|
||||
<if test="userDefined7 != null">User_Defined7,</if>
|
||||
<if test="userDefined8 != null">User_Defined8,</if>
|
||||
<if test="userDefined9 != null">User_Defined9,</if>
|
||||
<if test="userDefined10 != null">User_Defined10,</if>
|
||||
<if test="userDefined11 != null">User_Defined11,</if>
|
||||
<if test="Remark != null">Remark,</if>
|
||||
<if test="createBy != null">Create_By,</if>
|
||||
<if test="createDate != null">Create_Date,</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By,</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date,</if>
|
||||
<if test="Active != null">Active,</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id,</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="ID != null">#{ID},</if>
|
||||
<if test="orderInventCode != null">#{orderInventCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="planDate != null">#{planDate},</if>
|
||||
<if test="locNumber != null">#{locNumber},</if>
|
||||
<if test="realityNumber != null">#{realityNumber},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="locCode != null">#{locCode},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="userDefined11 != null">#{userDefined11},</if>
|
||||
<if test="Remark != null">#{Remark},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createDate != null">#{createDate},</if>
|
||||
<if test="lastUpdateBy != null">#{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">#{lastUpdateDate},</if>
|
||||
<if test="Active != null">#{Active},</if>
|
||||
<if test="enterpriseId != null">#{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">#{enterpriseCode},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateOdsInventoryOrder" parameterType="OdsInventoryOrder">
|
||||
update ods_Inventory_order
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
||||
<if test="orderInventCode != null">Order_Invent_Code = #{orderInventCode},</if>
|
||||
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
||||
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
||||
<if test="locNumber != null">Loc_Number = #{locNumber},</if>
|
||||
<if test="realityNumber != null">Reality_Number = #{realityNumber},</if>
|
||||
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
||||
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
||||
<if test="locCode != null">Loc_Code = #{locCode},</if>
|
||||
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
||||
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
||||
<if test="Remark != null">Remark = #{Remark},</if>
|
||||
<if test="createBy != null">Create_By = #{createBy},</if>
|
||||
<if test="createDate != null">Create_Date = #{createDate},</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
||||
<if test="Active != null">Active = #{Active},</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteOdsInventoryOrderByID" parameterType="String">
|
||||
delete from ods_Inventory_order where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteOdsInventoryOrderByIDs" parameterType="String">
|
||||
delete from ods_Inventory_order where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,203 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.OdsProcureOrderMapper">
|
||||
|
||||
<resultMap type="OdsProcureOrder" id="OdsProcureOrderResult">
|
||||
<result property="siteCode" column="Site_code" />
|
||||
<result property="ID" column="ID" />
|
||||
<result property="procureCode" column="Procure_Code" />
|
||||
<result property="materialCode" column="Material_Code" />
|
||||
<result property="materialDesc" column="Material_Desc" />
|
||||
<result property="planDate" column="Plan_Date" />
|
||||
<result property="planNumber" column="Plan_Number" />
|
||||
<result property="Unit" column="Unit" />
|
||||
<result property="realityNumber" column="Reality_Number" />
|
||||
<result property="orderStatus" column="Order_Status" />
|
||||
<result property="userDefined1" column="User_Defined1" />
|
||||
<result property="userDefined2" column="User_Defined2" />
|
||||
<result property="userDefined3" column="User_Defined3" />
|
||||
<result property="userDefined4" column="User_Defined4" />
|
||||
<result property="userDefined5" column="User_Defined5" />
|
||||
<result property="userDefined6" column="User_Defined6" />
|
||||
<result property="userDefined7" column="User_Defined7" />
|
||||
<result property="userDefined8" column="User_Defined8" />
|
||||
<result property="userDefined9" column="User_Defined9" />
|
||||
<result property="userDefined10" column="User_Defined10" />
|
||||
<result property="userDefined11" column="User_Defined11" />
|
||||
<result property="supplierCode" column="Supplier_Code" />
|
||||
<result property="supplierName" column="Supplier_Name" />
|
||||
<result property="Remark" column="Remark" />
|
||||
<result property="createBy" column="Create_By" />
|
||||
<result property="createDate" column="Create_Date" />
|
||||
<result property="lastUpdateBy" column="Last_Update_By" />
|
||||
<result property="lastUpdateDate" column="Last_Update_Date" />
|
||||
<result property="Active" column="Active" />
|
||||
<result property="enterpriseId" column="Enterprise_Id" />
|
||||
<result property="enterpriseCode" column="Enterprise_Code" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectOdsProcureOrderVo">
|
||||
select Site_code, ID, Procure_Code, Material_Code, Material_Desc, Plan_Date, Plan_Number, Unit, Reality_Number, Order_Status, User_Defined1, User_Defined2, User_Defined3, User_Defined4, User_Defined5, User_Defined6, User_Defined7, User_Defined8, User_Defined9, User_Defined10, User_Defined11, Supplier_Code, Supplier_Name, Remark, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code from ods_procure_order
|
||||
</sql>
|
||||
|
||||
<select id="selectOdsProcureOrderList" parameterType="OdsProcureOrder" resultMap="OdsProcureOrderResult">
|
||||
<include refid="selectOdsProcureOrderVo"/>
|
||||
<where>
|
||||
<if test="siteCode != null and siteCode != ''"> and Site_code = #{siteCode}</if>
|
||||
<if test="procureCode != null and procureCode != ''"> and Procure_Code = #{procureCode}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and Material_Code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and Material_Desc = #{materialDesc}</if>
|
||||
<if test="planDate != null "> and Plan_Date = #{planDate}</if>
|
||||
<if test="planNumber != null "> and Plan_Number = #{planNumber}</if>
|
||||
<if test="Unit != null and Unit != ''"> and Unit = #{Unit}</if>
|
||||
<if test="realityNumber != null "> and Reality_Number = #{realityNumber}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and Order_Status = #{orderStatus}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and User_Defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and User_Defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and User_Defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and User_Defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and User_Defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and User_Defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and User_Defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and User_Defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and User_Defined10 = #{userDefined10}</if>
|
||||
<if test="userDefined11 != null and userDefined11 != ''"> and User_Defined11 = #{userDefined11}</if>
|
||||
<if test="supplierCode != null and supplierCode != ''"> and Supplier_Code = #{supplierCode}</if>
|
||||
<if test="supplierName != null and supplierName != ''"> and Supplier_Name like concat('%', #{supplierName}, '%')</if>
|
||||
<if test="Remark != null and Remark != ''"> and Remark = #{Remark}</if>
|
||||
<if test="createBy != null and createBy != ''"> and Create_By = #{createBy}</if>
|
||||
<if test="createDate != null "> and Create_Date = #{createDate}</if>
|
||||
<if test="lastUpdateBy != null and lastUpdateBy != ''"> and Last_Update_By = #{lastUpdateBy}</if>
|
||||
<if test="lastUpdateDate != null "> and Last_Update_Date = #{lastUpdateDate}</if>
|
||||
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
|
||||
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
|
||||
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectOdsProcureOrderByID" parameterType="String" resultMap="OdsProcureOrderResult">
|
||||
<include refid="selectOdsProcureOrderVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertOdsProcureOrder" parameterType="OdsProcureOrder">
|
||||
insert into ods_procure_order
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="ID != null">ID,</if>
|
||||
<if test="procureCode != null">Procure_Code,</if>
|
||||
<if test="materialCode != null">Material_Code,</if>
|
||||
<if test="materialDesc != null">Material_Desc,</if>
|
||||
<if test="planDate != null">Plan_Date,</if>
|
||||
<if test="planNumber != null">Plan_Number,</if>
|
||||
<if test="Unit != null">Unit,</if>
|
||||
<if test="realityNumber != null">Reality_Number,</if>
|
||||
<if test="orderStatus != null">Order_Status,</if>
|
||||
<if test="userDefined1 != null">User_Defined1,</if>
|
||||
<if test="userDefined2 != null">User_Defined2,</if>
|
||||
<if test="userDefined3 != null">User_Defined3,</if>
|
||||
<if test="userDefined4 != null">User_Defined4,</if>
|
||||
<if test="userDefined5 != null">User_Defined5,</if>
|
||||
<if test="userDefined6 != null">User_Defined6,</if>
|
||||
<if test="userDefined7 != null">User_Defined7,</if>
|
||||
<if test="userDefined8 != null">User_Defined8,</if>
|
||||
<if test="userDefined9 != null">User_Defined9,</if>
|
||||
<if test="userDefined10 != null">User_Defined10,</if>
|
||||
<if test="userDefined11 != null">User_Defined11,</if>
|
||||
<if test="supplierCode != null">Supplier_Code,</if>
|
||||
<if test="supplierName != null">Supplier_Name,</if>
|
||||
<if test="Remark != null">Remark,</if>
|
||||
<if test="createBy != null">Create_By,</if>
|
||||
<if test="createDate != null">Create_Date,</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By,</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date,</if>
|
||||
<if test="Active != null">Active,</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id,</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="ID != null">#{ID},</if>
|
||||
<if test="procureCode != null">#{procureCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="planDate != null">#{planDate},</if>
|
||||
<if test="planNumber != null">#{planNumber},</if>
|
||||
<if test="Unit != null">#{Unit},</if>
|
||||
<if test="realityNumber != null">#{realityNumber},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="userDefined11 != null">#{userDefined11},</if>
|
||||
<if test="supplierCode != null">#{supplierCode},</if>
|
||||
<if test="supplierName != null">#{supplierName},</if>
|
||||
<if test="Remark != null">#{Remark},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createDate != null">#{createDate},</if>
|
||||
<if test="lastUpdateBy != null">#{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">#{lastUpdateDate},</if>
|
||||
<if test="Active != null">#{Active},</if>
|
||||
<if test="enterpriseId != null">#{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">#{enterpriseCode},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateOdsProcureOrder" parameterType="OdsProcureOrder">
|
||||
update ods_procure_order
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
||||
<if test="procureCode != null">Procure_Code = #{procureCode},</if>
|
||||
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
||||
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
||||
<if test="planNumber != null">Plan_Number = #{planNumber},</if>
|
||||
<if test="Unit != null">Unit = #{Unit},</if>
|
||||
<if test="realityNumber != null">Reality_Number = #{realityNumber},</if>
|
||||
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
||||
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
||||
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
||||
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
||||
<if test="supplierCode != null">Supplier_Code = #{supplierCode},</if>
|
||||
<if test="supplierName != null">Supplier_Name = #{supplierName},</if>
|
||||
<if test="Remark != null">Remark = #{Remark},</if>
|
||||
<if test="createBy != null">Create_By = #{createBy},</if>
|
||||
<if test="createDate != null">Create_Date = #{createDate},</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
||||
<if test="Active != null">Active = #{Active},</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteOdsProcureOrderByID" parameterType="String">
|
||||
delete from ods_procure_order where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteOdsProcureOrderByIDs" parameterType="String">
|
||||
delete from ods_procure_order where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,218 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.OdsProcureOutOrderMapper">
|
||||
|
||||
<resultMap type="OdsProcureOutOrder" id="OdsProcureOutOrderResult">
|
||||
<result property="siteCode" column="Site_code" />
|
||||
<result property="ID" column="ID" />
|
||||
<result property="produceCode" column="Produce_Code" />
|
||||
<result property="materialCode" column="Material_Code" />
|
||||
<result property="materialDesc" column="Material_Desc" />
|
||||
<result property="planDate" column="Plan_Date" />
|
||||
<result property="planNumber" column="Plan_Number" />
|
||||
<result property="Unit" column="Unit" />
|
||||
<result property="outNumber" column="Out_Number" />
|
||||
<result property="locCode" column="Loc_Code" />
|
||||
<result property="locDesc" column="Loc_Desc" />
|
||||
<result property="productionLineDesc" column="Production_Line_Desc" />
|
||||
<result property="productionLineCode" column="Production_Line_Code" />
|
||||
<result property="orderStatus" column="Order_Status" />
|
||||
<result property="userDefined1" column="User_Defined1" />
|
||||
<result property="userDefined2" column="User_Defined2" />
|
||||
<result property="userDefined3" column="User_Defined3" />
|
||||
<result property="userDefined4" column="User_Defined4" />
|
||||
<result property="userDefined5" column="User_Defined5" />
|
||||
<result property="userDefined6" column="User_Defined6" />
|
||||
<result property="userDefined7" column="User_Defined7" />
|
||||
<result property="userDefined8" column="User_Defined8" />
|
||||
<result property="userDefined9" column="User_Defined9" />
|
||||
<result property="userDefined10" column="User_Defined10" />
|
||||
<result property="userDefined11" column="User_Defined11" />
|
||||
<result property="supplierCode" column="Supplier_Code" />
|
||||
<result property="supplierName" column="Supplier_Name" />
|
||||
<result property="createBy" column="Create_By" />
|
||||
<result property="createDate" column="Create_Date" />
|
||||
<result property="lastUpdateBy" column="Last_Update_By" />
|
||||
<result property="lastUpdateDate" column="Last_Update_Date" />
|
||||
<result property="Active" column="Active" />
|
||||
<result property="enterpriseId" column="Enterprise_Id" />
|
||||
<result property="enterpriseCode" column="Enterprise_Code" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectOdsProcureOutOrderVo">
|
||||
select Site_code, ID, Produce_Code, Material_Code, Material_Desc, Plan_Date, Plan_Number, Unit, Out_Number, Loc_Code, Loc_Desc, Production_Line_Desc, Production_Line_Code, Order_Status, User_Defined1, User_Defined2, User_Defined3, User_Defined4, User_Defined5, User_Defined6, User_Defined7, User_Defined8, User_Defined9, User_Defined10, User_Defined11, Supplier_Code, Supplier_Name, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code from ods_procure_out_order
|
||||
</sql>
|
||||
|
||||
<select id="selectOdsProcureOutOrderList" parameterType="OdsProcureOutOrder" resultMap="OdsProcureOutOrderResult">
|
||||
<include refid="selectOdsProcureOutOrderVo"/>
|
||||
<where>
|
||||
<if test="siteCode != null and siteCode != ''"> and Site_code = #{siteCode}</if>
|
||||
<if test="produceCode != null and produceCode != ''"> and Produce_Code = #{produceCode}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and Material_Code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and Material_Desc = #{materialDesc}</if>
|
||||
<if test="planDate != null "> and Plan_Date = #{planDate}</if>
|
||||
<if test="planNumber != null "> and Plan_Number = #{planNumber}</if>
|
||||
<if test="Unit != null and Unit != ''"> and Unit = #{Unit}</if>
|
||||
<if test="outNumber != null "> and Out_Number = #{outNumber}</if>
|
||||
<if test="locCode != null and locCode != ''"> and Loc_Code = #{locCode}</if>
|
||||
<if test="locDesc != null and locDesc != ''"> and Loc_Desc = #{locDesc}</if>
|
||||
<if test="productionLineDesc != null and productionLineDesc != ''"> and Production_Line_Desc = #{productionLineDesc}</if>
|
||||
<if test="productionLineCode != null and productionLineCode != ''"> and Production_Line_Code = #{productionLineCode}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and Order_Status = #{orderStatus}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and User_Defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and User_Defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and User_Defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and User_Defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and User_Defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and User_Defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and User_Defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and User_Defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and User_Defined10 = #{userDefined10}</if>
|
||||
<if test="userDefined11 != null and userDefined11 != ''"> and User_Defined11 = #{userDefined11}</if>
|
||||
<if test="supplierCode != null and supplierCode != ''"> and Supplier_Code = #{supplierCode}</if>
|
||||
<if test="supplierName != null and supplierName != ''"> and Supplier_Name like concat('%', #{supplierName}, '%')</if>
|
||||
<if test="createBy != null and createBy != ''"> and Create_By = #{createBy}</if>
|
||||
<if test="createDate != null "> and Create_Date = #{createDate}</if>
|
||||
<if test="lastUpdateBy != null and lastUpdateBy != ''"> and Last_Update_By = #{lastUpdateBy}</if>
|
||||
<if test="lastUpdateDate != null "> and Last_Update_Date = #{lastUpdateDate}</if>
|
||||
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
|
||||
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
|
||||
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectOdsProcureOutOrderByID" parameterType="String" resultMap="OdsProcureOutOrderResult">
|
||||
<include refid="selectOdsProcureOutOrderVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertOdsProcureOutOrder" parameterType="OdsProcureOutOrder">
|
||||
insert into ods_procure_out_order
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="ID != null">ID,</if>
|
||||
<if test="produceCode != null">Produce_Code,</if>
|
||||
<if test="materialCode != null">Material_Code,</if>
|
||||
<if test="materialDesc != null">Material_Desc,</if>
|
||||
<if test="planDate != null">Plan_Date,</if>
|
||||
<if test="planNumber != null">Plan_Number,</if>
|
||||
<if test="Unit != null">Unit,</if>
|
||||
<if test="outNumber != null">Out_Number,</if>
|
||||
<if test="locCode != null">Loc_Code,</if>
|
||||
<if test="locDesc != null">Loc_Desc,</if>
|
||||
<if test="productionLineDesc != null">Production_Line_Desc,</if>
|
||||
<if test="productionLineCode != null">Production_Line_Code,</if>
|
||||
<if test="orderStatus != null">Order_Status,</if>
|
||||
<if test="userDefined1 != null">User_Defined1,</if>
|
||||
<if test="userDefined2 != null">User_Defined2,</if>
|
||||
<if test="userDefined3 != null">User_Defined3,</if>
|
||||
<if test="userDefined4 != null">User_Defined4,</if>
|
||||
<if test="userDefined5 != null">User_Defined5,</if>
|
||||
<if test="userDefined6 != null">User_Defined6,</if>
|
||||
<if test="userDefined7 != null">User_Defined7,</if>
|
||||
<if test="userDefined8 != null">User_Defined8,</if>
|
||||
<if test="userDefined9 != null">User_Defined9,</if>
|
||||
<if test="userDefined10 != null">User_Defined10,</if>
|
||||
<if test="userDefined11 != null">User_Defined11,</if>
|
||||
<if test="supplierCode != null">Supplier_Code,</if>
|
||||
<if test="supplierName != null">Supplier_Name,</if>
|
||||
<if test="createBy != null">Create_By,</if>
|
||||
<if test="createDate != null">Create_Date,</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By,</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date,</if>
|
||||
<if test="Active != null">Active,</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id,</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="ID != null">#{ID},</if>
|
||||
<if test="produceCode != null">#{produceCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="planDate != null">#{planDate},</if>
|
||||
<if test="planNumber != null">#{planNumber},</if>
|
||||
<if test="Unit != null">#{Unit},</if>
|
||||
<if test="outNumber != null">#{outNumber},</if>
|
||||
<if test="locCode != null">#{locCode},</if>
|
||||
<if test="locDesc != null">#{locDesc},</if>
|
||||
<if test="productionLineDesc != null">#{productionLineDesc},</if>
|
||||
<if test="productionLineCode != null">#{productionLineCode},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="userDefined11 != null">#{userDefined11},</if>
|
||||
<if test="supplierCode != null">#{supplierCode},</if>
|
||||
<if test="supplierName != null">#{supplierName},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createDate != null">#{createDate},</if>
|
||||
<if test="lastUpdateBy != null">#{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">#{lastUpdateDate},</if>
|
||||
<if test="Active != null">#{Active},</if>
|
||||
<if test="enterpriseId != null">#{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">#{enterpriseCode},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateOdsProcureOutOrder" parameterType="OdsProcureOutOrder">
|
||||
update ods_procure_out_order
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
||||
<if test="produceCode != null">Produce_Code = #{produceCode},</if>
|
||||
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
||||
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
||||
<if test="planNumber != null">Plan_Number = #{planNumber},</if>
|
||||
<if test="Unit != null">Unit = #{Unit},</if>
|
||||
<if test="outNumber != null">Out_Number = #{outNumber},</if>
|
||||
<if test="locCode != null">Loc_Code = #{locCode},</if>
|
||||
<if test="locDesc != null">Loc_Desc = #{locDesc},</if>
|
||||
<if test="productionLineDesc != null">Production_Line_Desc = #{productionLineDesc},</if>
|
||||
<if test="productionLineCode != null">Production_Line_Code = #{productionLineCode},</if>
|
||||
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
||||
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
||||
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
||||
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
||||
<if test="supplierCode != null">Supplier_Code = #{supplierCode},</if>
|
||||
<if test="supplierName != null">Supplier_Name = #{supplierName},</if>
|
||||
<if test="createBy != null">Create_By = #{createBy},</if>
|
||||
<if test="createDate != null">Create_Date = #{createDate},</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
||||
<if test="Active != null">Active = #{Active},</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteOdsProcureOutOrderByID" parameterType="String">
|
||||
delete from ods_procure_out_order where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteOdsProcureOutOrderByIDs" parameterType="String">
|
||||
delete from ods_procure_out_order where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,198 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.OdsWhiteEmbryoInventoryMapper">
|
||||
|
||||
<resultMap type="OdsWhiteEmbryoInventory" id="OdsWhiteEmbryoInventoryResult">
|
||||
<result property="siteCode" column="Site_code" />
|
||||
<result property="ID" column="ID" />
|
||||
<result property="orderCode" column="Order_Code" />
|
||||
<result property="materialCode" column="Material_Code" />
|
||||
<result property="materialDesc" column="Material_Desc" />
|
||||
<result property="planDate" column="Plan_Date" />
|
||||
<result property="locNumber" column="Loc_Number" />
|
||||
<result property="Unit" column="Unit" />
|
||||
<result property="realityNumber" column="Reality_Number" />
|
||||
<result property="orderStatus" column="Order_Status" />
|
||||
<result property="userDefined1" column="User_Defined1" />
|
||||
<result property="locCode" column="Loc_Code" />
|
||||
<result property="userDefined2" column="User_Defined2" />
|
||||
<result property="userDefined3" column="User_Defined3" />
|
||||
<result property="userDefined4" column="User_Defined4" />
|
||||
<result property="userDefined5" column="User_Defined5" />
|
||||
<result property="userDefined6" column="User_Defined6" />
|
||||
<result property="userDefined7" column="User_Defined7" />
|
||||
<result property="userDefined8" column="User_Defined8" />
|
||||
<result property="userDefined9" column="User_Defined9" />
|
||||
<result property="userDefined10" column="User_Defined10" />
|
||||
<result property="userDefined11" column="User_Defined11" />
|
||||
<result property="Remark" column="Remark" />
|
||||
<result property="createBy" column="Create_By" />
|
||||
<result property="createDate" column="Create_Date" />
|
||||
<result property="lastUpdateBy" column="Last_Update_By" />
|
||||
<result property="lastUpdateDate" column="Last_Update_Date" />
|
||||
<result property="Active" column="Active" />
|
||||
<result property="enterpriseId" column="Enterprise_Id" />
|
||||
<result property="enterpriseCode" column="Enterprise_Code" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectOdsWhiteEmbryoInventoryVo">
|
||||
select Site_code, ID, Order_Code, Material_Code, Material_Desc, Plan_Date, Loc_Number, Unit, Reality_Number, Order_Status, User_Defined1, Loc_Code, User_Defined2, User_Defined3, User_Defined4, User_Defined5, User_Defined6, User_Defined7, User_Defined8, User_Defined9, User_Defined10, User_Defined11, Remark, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code from ods_white_embryo_Inventory
|
||||
</sql>
|
||||
|
||||
<select id="selectOdsWhiteEmbryoInventoryList" parameterType="OdsWhiteEmbryoInventory" resultMap="OdsWhiteEmbryoInventoryResult">
|
||||
<include refid="selectOdsWhiteEmbryoInventoryVo"/>
|
||||
<where>
|
||||
<if test="siteCode != null and siteCode != ''"> and Site_code = #{siteCode}</if>
|
||||
<if test="orderCode != null and orderCode != ''"> and Order_Code = #{orderCode}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and Material_Code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and Material_Desc = #{materialDesc}</if>
|
||||
<if test="planDate != null "> and Plan_Date = #{planDate}</if>
|
||||
<if test="locNumber != null "> and Loc_Number = #{locNumber}</if>
|
||||
<if test="Unit != null and Unit != ''"> and Unit = #{Unit}</if>
|
||||
<if test="realityNumber != null "> and Reality_Number = #{realityNumber}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and Order_Status = #{orderStatus}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
||||
<if test="locCode != null and locCode != ''"> and Loc_Code = #{locCode}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and User_Defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and User_Defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and User_Defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and User_Defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and User_Defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and User_Defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and User_Defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and User_Defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and User_Defined10 = #{userDefined10}</if>
|
||||
<if test="userDefined11 != null and userDefined11 != ''"> and User_Defined11 = #{userDefined11}</if>
|
||||
<if test="Remark != null and Remark != ''"> and Remark = #{Remark}</if>
|
||||
<if test="createBy != null and createBy != ''"> and Create_By = #{createBy}</if>
|
||||
<if test="createDate != null "> and Create_Date = #{createDate}</if>
|
||||
<if test="lastUpdateBy != null and lastUpdateBy != ''"> and Last_Update_By = #{lastUpdateBy}</if>
|
||||
<if test="lastUpdateDate != null "> and Last_Update_Date = #{lastUpdateDate}</if>
|
||||
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
|
||||
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
|
||||
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectOdsWhiteEmbryoInventoryByID" parameterType="String" resultMap="OdsWhiteEmbryoInventoryResult">
|
||||
<include refid="selectOdsWhiteEmbryoInventoryVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertOdsWhiteEmbryoInventory" parameterType="OdsWhiteEmbryoInventory">
|
||||
insert into ods_white_embryo_Inventory
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="ID != null">ID,</if>
|
||||
<if test="orderCode != null">Order_Code,</if>
|
||||
<if test="materialCode != null">Material_Code,</if>
|
||||
<if test="materialDesc != null">Material_Desc,</if>
|
||||
<if test="planDate != null">Plan_Date,</if>
|
||||
<if test="locNumber != null">Loc_Number,</if>
|
||||
<if test="Unit != null">Unit,</if>
|
||||
<if test="realityNumber != null">Reality_Number,</if>
|
||||
<if test="orderStatus != null">Order_Status,</if>
|
||||
<if test="userDefined1 != null">User_Defined1,</if>
|
||||
<if test="locCode != null">Loc_Code,</if>
|
||||
<if test="userDefined2 != null">User_Defined2,</if>
|
||||
<if test="userDefined3 != null">User_Defined3,</if>
|
||||
<if test="userDefined4 != null">User_Defined4,</if>
|
||||
<if test="userDefined5 != null">User_Defined5,</if>
|
||||
<if test="userDefined6 != null">User_Defined6,</if>
|
||||
<if test="userDefined7 != null">User_Defined7,</if>
|
||||
<if test="userDefined8 != null">User_Defined8,</if>
|
||||
<if test="userDefined9 != null">User_Defined9,</if>
|
||||
<if test="userDefined10 != null">User_Defined10,</if>
|
||||
<if test="userDefined11 != null">User_Defined11,</if>
|
||||
<if test="Remark != null">Remark,</if>
|
||||
<if test="createBy != null">Create_By,</if>
|
||||
<if test="createDate != null">Create_Date,</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By,</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date,</if>
|
||||
<if test="Active != null">Active,</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id,</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="ID != null">#{ID},</if>
|
||||
<if test="orderCode != null">#{orderCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="planDate != null">#{planDate},</if>
|
||||
<if test="locNumber != null">#{locNumber},</if>
|
||||
<if test="Unit != null">#{Unit},</if>
|
||||
<if test="realityNumber != null">#{realityNumber},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="locCode != null">#{locCode},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="userDefined11 != null">#{userDefined11},</if>
|
||||
<if test="Remark != null">#{Remark},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createDate != null">#{createDate},</if>
|
||||
<if test="lastUpdateBy != null">#{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">#{lastUpdateDate},</if>
|
||||
<if test="Active != null">#{Active},</if>
|
||||
<if test="enterpriseId != null">#{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">#{enterpriseCode},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateOdsWhiteEmbryoInventory" parameterType="OdsWhiteEmbryoInventory">
|
||||
update ods_white_embryo_Inventory
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
||||
<if test="orderCode != null">Order_Code = #{orderCode},</if>
|
||||
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
||||
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
||||
<if test="locNumber != null">Loc_Number = #{locNumber},</if>
|
||||
<if test="Unit != null">Unit = #{Unit},</if>
|
||||
<if test="realityNumber != null">Reality_Number = #{realityNumber},</if>
|
||||
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
||||
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
||||
<if test="locCode != null">Loc_Code = #{locCode},</if>
|
||||
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
||||
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
||||
<if test="Remark != null">Remark = #{Remark},</if>
|
||||
<if test="createBy != null">Create_By = #{createBy},</if>
|
||||
<if test="createDate != null">Create_Date = #{createDate},</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
||||
<if test="Active != null">Active = #{Active},</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteOdsWhiteEmbryoInventoryByID" parameterType="String">
|
||||
delete from ods_white_embryo_Inventory where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteOdsWhiteEmbryoInventoryByIDs" parameterType="String">
|
||||
delete from ods_white_embryo_Inventory where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,218 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.OdsWhiteEmbryoMapper">
|
||||
|
||||
<resultMap type="OdsWhiteEmbryo" id="OdsWhiteEmbryoResult">
|
||||
<result property="siteCode" column="Site_code" />
|
||||
<result property="ID" column="ID" />
|
||||
<result property="orderCode" column="Order_Code" />
|
||||
<result property="materialCode" column="Material_Code" />
|
||||
<result property="materialDesc" column="Material_Desc" />
|
||||
<result property="planDate" column="Plan_Date" />
|
||||
<result property="planNumber" column="Plan_Number" />
|
||||
<result property="Unit" column="Unit" />
|
||||
<result property="realityNumber" column="Reality_Number" />
|
||||
<result property="orderStatus" column="Order_Status" />
|
||||
<result property="userDefined1" column="User_Defined1" />
|
||||
<result property="productionLineDesc" column="Production_Line_Desc" />
|
||||
<result property="productionLineCode" column="Production_Line_Code" />
|
||||
<result property="locCode" column="Loc_Code" />
|
||||
<result property="userDefined2" column="User_Defined2" />
|
||||
<result property="userDefined3" column="User_Defined3" />
|
||||
<result property="userDefined4" column="User_Defined4" />
|
||||
<result property="userDefined5" column="User_Defined5" />
|
||||
<result property="userDefined6" column="User_Defined6" />
|
||||
<result property="userDefined7" column="User_Defined7" />
|
||||
<result property="userDefined8" column="User_Defined8" />
|
||||
<result property="userDefined9" column="User_Defined9" />
|
||||
<result property="userDefined10" column="User_Defined10" />
|
||||
<result property="userDefined11" column="User_Defined11" />
|
||||
<result property="supplierCode" column="Supplier_Code" />
|
||||
<result property="supplierName" column="Supplier_Name" />
|
||||
<result property="Remark" column="Remark" />
|
||||
<result property="createBy" column="Create_By" />
|
||||
<result property="createDate" column="Create_Date" />
|
||||
<result property="lastUpdateBy" column="Last_Update_By" />
|
||||
<result property="lastUpdateDate" column="Last_Update_Date" />
|
||||
<result property="Active" column="Active" />
|
||||
<result property="enterpriseId" column="Enterprise_Id" />
|
||||
<result property="enterpriseCode" column="Enterprise_Code" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectOdsWhiteEmbryoVo">
|
||||
select Site_code, ID, Order_Code, Material_Code, Material_Desc, Plan_Date, Plan_Number, Unit, Reality_Number, Order_Status, User_Defined1, Production_Line_Desc, Production_Line_Code, Loc_Code, User_Defined2, User_Defined3, User_Defined4, User_Defined5, User_Defined6, User_Defined7, User_Defined8, User_Defined9, User_Defined10, User_Defined11, Supplier_Code, Supplier_Name, Remark, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code from ods_white_embryo
|
||||
</sql>
|
||||
|
||||
<select id="selectOdsWhiteEmbryoList" parameterType="OdsWhiteEmbryo" resultMap="OdsWhiteEmbryoResult">
|
||||
<include refid="selectOdsWhiteEmbryoVo"/>
|
||||
<where>
|
||||
<if test="siteCode != null and siteCode != ''"> and Site_code = #{siteCode}</if>
|
||||
<if test="orderCode != null and orderCode != ''"> and Order_Code = #{orderCode}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and Material_Code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and Material_Desc = #{materialDesc}</if>
|
||||
<if test="planDate != null "> and Plan_Date = #{planDate}</if>
|
||||
<if test="planNumber != null "> and Plan_Number = #{planNumber}</if>
|
||||
<if test="Unit != null and Unit != ''"> and Unit = #{Unit}</if>
|
||||
<if test="realityNumber != null "> and Reality_Number = #{realityNumber}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and Order_Status = #{orderStatus}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
||||
<if test="productionLineDesc != null and productionLineDesc != ''"> and Production_Line_Desc = #{productionLineDesc}</if>
|
||||
<if test="productionLineCode != null and productionLineCode != ''"> and Production_Line_Code = #{productionLineCode}</if>
|
||||
<if test="locCode != null and locCode != ''"> and Loc_Code = #{locCode}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and User_Defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and User_Defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and User_Defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and User_Defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and User_Defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and User_Defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and User_Defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and User_Defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and User_Defined10 = #{userDefined10}</if>
|
||||
<if test="userDefined11 != null and userDefined11 != ''"> and User_Defined11 = #{userDefined11}</if>
|
||||
<if test="supplierCode != null and supplierCode != ''"> and Supplier_Code = #{supplierCode}</if>
|
||||
<if test="supplierName != null and supplierName != ''"> and Supplier_Name like concat('%', #{supplierName}, '%')</if>
|
||||
<if test="Remark != null and Remark != ''"> and Remark = #{Remark}</if>
|
||||
<if test="createBy != null and createBy != ''"> and Create_By = #{createBy}</if>
|
||||
<if test="createDate != null "> and Create_Date = #{createDate}</if>
|
||||
<if test="lastUpdateBy != null and lastUpdateBy != ''"> and Last_Update_By = #{lastUpdateBy}</if>
|
||||
<if test="lastUpdateDate != null "> and Last_Update_Date = #{lastUpdateDate}</if>
|
||||
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
|
||||
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
|
||||
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectOdsWhiteEmbryoByID" parameterType="String" resultMap="OdsWhiteEmbryoResult">
|
||||
<include refid="selectOdsWhiteEmbryoVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertOdsWhiteEmbryo" parameterType="OdsWhiteEmbryo">
|
||||
insert into ods_white_embryo
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="ID != null">ID,</if>
|
||||
<if test="orderCode != null">Order_Code,</if>
|
||||
<if test="materialCode != null">Material_Code,</if>
|
||||
<if test="materialDesc != null">Material_Desc,</if>
|
||||
<if test="planDate != null">Plan_Date,</if>
|
||||
<if test="planNumber != null">Plan_Number,</if>
|
||||
<if test="Unit != null">Unit,</if>
|
||||
<if test="realityNumber != null">Reality_Number,</if>
|
||||
<if test="orderStatus != null">Order_Status,</if>
|
||||
<if test="userDefined1 != null">User_Defined1,</if>
|
||||
<if test="productionLineDesc != null">Production_Line_Desc,</if>
|
||||
<if test="productionLineCode != null">Production_Line_Code,</if>
|
||||
<if test="locCode != null">Loc_Code,</if>
|
||||
<if test="userDefined2 != null">User_Defined2,</if>
|
||||
<if test="userDefined3 != null">User_Defined3,</if>
|
||||
<if test="userDefined4 != null">User_Defined4,</if>
|
||||
<if test="userDefined5 != null">User_Defined5,</if>
|
||||
<if test="userDefined6 != null">User_Defined6,</if>
|
||||
<if test="userDefined7 != null">User_Defined7,</if>
|
||||
<if test="userDefined8 != null">User_Defined8,</if>
|
||||
<if test="userDefined9 != null">User_Defined9,</if>
|
||||
<if test="userDefined10 != null">User_Defined10,</if>
|
||||
<if test="userDefined11 != null">User_Defined11,</if>
|
||||
<if test="supplierCode != null">Supplier_Code,</if>
|
||||
<if test="supplierName != null">Supplier_Name,</if>
|
||||
<if test="Remark != null">Remark,</if>
|
||||
<if test="createBy != null">Create_By,</if>
|
||||
<if test="createDate != null">Create_Date,</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By,</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date,</if>
|
||||
<if test="Active != null">Active,</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id,</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="ID != null">#{ID},</if>
|
||||
<if test="orderCode != null">#{orderCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="planDate != null">#{planDate},</if>
|
||||
<if test="planNumber != null">#{planNumber},</if>
|
||||
<if test="Unit != null">#{Unit},</if>
|
||||
<if test="realityNumber != null">#{realityNumber},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="productionLineDesc != null">#{productionLineDesc},</if>
|
||||
<if test="productionLineCode != null">#{productionLineCode},</if>
|
||||
<if test="locCode != null">#{locCode},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="userDefined11 != null">#{userDefined11},</if>
|
||||
<if test="supplierCode != null">#{supplierCode},</if>
|
||||
<if test="supplierName != null">#{supplierName},</if>
|
||||
<if test="Remark != null">#{Remark},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createDate != null">#{createDate},</if>
|
||||
<if test="lastUpdateBy != null">#{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">#{lastUpdateDate},</if>
|
||||
<if test="Active != null">#{Active},</if>
|
||||
<if test="enterpriseId != null">#{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">#{enterpriseCode},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateOdsWhiteEmbryo" parameterType="OdsWhiteEmbryo">
|
||||
update ods_white_embryo
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
||||
<if test="orderCode != null">Order_Code = #{orderCode},</if>
|
||||
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
||||
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
||||
<if test="planNumber != null">Plan_Number = #{planNumber},</if>
|
||||
<if test="Unit != null">Unit = #{Unit},</if>
|
||||
<if test="realityNumber != null">Reality_Number = #{realityNumber},</if>
|
||||
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
||||
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
||||
<if test="productionLineDesc != null">Production_Line_Desc = #{productionLineDesc},</if>
|
||||
<if test="productionLineCode != null">Production_Line_Code = #{productionLineCode},</if>
|
||||
<if test="locCode != null">Loc_Code = #{locCode},</if>
|
||||
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
||||
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
||||
<if test="supplierCode != null">Supplier_Code = #{supplierCode},</if>
|
||||
<if test="supplierName != null">Supplier_Name = #{supplierName},</if>
|
||||
<if test="Remark != null">Remark = #{Remark},</if>
|
||||
<if test="createBy != null">Create_By = #{createBy},</if>
|
||||
<if test="createDate != null">Create_Date = #{createDate},</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
||||
<if test="Active != null">Active = #{Active},</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteOdsWhiteEmbryoByID" parameterType="String">
|
||||
delete from ods_white_embryo where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteOdsWhiteEmbryoByIDs" parameterType="String">
|
||||
delete from ods_white_embryo where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,203 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.PowderChargeOrderMapper">
|
||||
|
||||
<resultMap type="PowderChargeOrder" id="PowderChargeOrderResult">
|
||||
<result property="siteCode" column="Site_code" />
|
||||
<result property="ID" column="ID" />
|
||||
<result property="orderCode" column="Order_Code" />
|
||||
<result property="materialCode" column="Material_Code" />
|
||||
<result property="materialDesc" column="Material_Desc" />
|
||||
<result property="planDate" column="Plan_Date" />
|
||||
<result property="planNumber" column="Plan_Number" />
|
||||
<result property="Unit" column="Unit" />
|
||||
<result property="realityNumber" column="Reality_Number" />
|
||||
<result property="orderStatus" column="Order_Status" />
|
||||
<result property="userDefined1" column="User_Defined1" />
|
||||
<result property="userDefined2" column="User_Defined2" />
|
||||
<result property="userDefined3" column="User_Defined3" />
|
||||
<result property="userDefined4" column="User_Defined4" />
|
||||
<result property="userDefined5" column="User_Defined5" />
|
||||
<result property="userDefined6" column="User_Defined6" />
|
||||
<result property="userDefined7" column="User_Defined7" />
|
||||
<result property="userDefined8" column="User_Defined8" />
|
||||
<result property="userDefined9" column="User_Defined9" />
|
||||
<result property="userDefined10" column="User_Defined10" />
|
||||
<result property="userDefined11" column="User_Defined11" />
|
||||
<result property="supplierCode" column="Supplier_Code" />
|
||||
<result property="supplierName" column="Supplier_Name" />
|
||||
<result property="Remark" column="Remark" />
|
||||
<result property="createBy" column="Create_By" />
|
||||
<result property="createDate" column="Create_Date" />
|
||||
<result property="lastUpdateBy" column="Last_Update_By" />
|
||||
<result property="lastUpdateDate" column="Last_Update_Date" />
|
||||
<result property="Active" column="Active" />
|
||||
<result property="enterpriseId" column="Enterprise_Id" />
|
||||
<result property="enterpriseCode" column="Enterprise_Code" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPowderChargeOrderVo">
|
||||
select Site_code, ID, Order_Code, Material_Code, Material_Desc, Plan_Date, Plan_Number, Unit, Reality_Number, Order_Status, User_Defined1, User_Defined2, User_Defined3, User_Defined4, User_Defined5, User_Defined6, User_Defined7, User_Defined8, User_Defined9, User_Defined10, User_Defined11, Supplier_Code, Supplier_Name, Remark, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code from powder_charge_order
|
||||
</sql>
|
||||
|
||||
<select id="selectPowderChargeOrderList" parameterType="PowderChargeOrder" resultMap="PowderChargeOrderResult">
|
||||
<include refid="selectPowderChargeOrderVo"/>
|
||||
<where>
|
||||
<if test="siteCode != null and siteCode != ''"> and Site_code = #{siteCode}</if>
|
||||
<if test="orderCode != null and orderCode != ''"> and Order_Code = #{orderCode}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and Material_Code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and Material_Desc = #{materialDesc}</if>
|
||||
<if test="planDate != null "> and Plan_Date = #{planDate}</if>
|
||||
<if test="planNumber != null "> and Plan_Number = #{planNumber}</if>
|
||||
<if test="Unit != null and Unit != ''"> and Unit = #{Unit}</if>
|
||||
<if test="realityNumber != null "> and Reality_Number = #{realityNumber}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and Order_Status = #{orderStatus}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and User_Defined1 = #{userDefined1}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and User_Defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and User_Defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and User_Defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and User_Defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and User_Defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and User_Defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and User_Defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and User_Defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and User_Defined10 = #{userDefined10}</if>
|
||||
<if test="userDefined11 != null and userDefined11 != ''"> and User_Defined11 = #{userDefined11}</if>
|
||||
<if test="supplierCode != null and supplierCode != ''"> and Supplier_Code = #{supplierCode}</if>
|
||||
<if test="supplierName != null and supplierName != ''"> and Supplier_Name like concat('%', #{supplierName}, '%')</if>
|
||||
<if test="Remark != null and Remark != ''"> and Remark = #{Remark}</if>
|
||||
<if test="createBy != null and createBy != ''"> and Create_By = #{createBy}</if>
|
||||
<if test="createDate != null "> and Create_Date = #{createDate}</if>
|
||||
<if test="lastUpdateBy != null and lastUpdateBy != ''"> and Last_Update_By = #{lastUpdateBy}</if>
|
||||
<if test="lastUpdateDate != null "> and Last_Update_Date = #{lastUpdateDate}</if>
|
||||
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
|
||||
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
|
||||
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPowderChargeOrderByID" parameterType="String" resultMap="PowderChargeOrderResult">
|
||||
<include refid="selectPowderChargeOrderVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertPowderChargeOrder" parameterType="PowderChargeOrder">
|
||||
insert into powder_charge_order
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code,</if>
|
||||
<if test="ID != null">ID,</if>
|
||||
<if test="orderCode != null">Order_Code,</if>
|
||||
<if test="materialCode != null">Material_Code,</if>
|
||||
<if test="materialDesc != null">Material_Desc,</if>
|
||||
<if test="planDate != null">Plan_Date,</if>
|
||||
<if test="planNumber != null">Plan_Number,</if>
|
||||
<if test="Unit != null">Unit,</if>
|
||||
<if test="realityNumber != null">Reality_Number,</if>
|
||||
<if test="orderStatus != null">Order_Status,</if>
|
||||
<if test="userDefined1 != null">User_Defined1,</if>
|
||||
<if test="userDefined2 != null">User_Defined2,</if>
|
||||
<if test="userDefined3 != null">User_Defined3,</if>
|
||||
<if test="userDefined4 != null">User_Defined4,</if>
|
||||
<if test="userDefined5 != null">User_Defined5,</if>
|
||||
<if test="userDefined6 != null">User_Defined6,</if>
|
||||
<if test="userDefined7 != null">User_Defined7,</if>
|
||||
<if test="userDefined8 != null">User_Defined8,</if>
|
||||
<if test="userDefined9 != null">User_Defined9,</if>
|
||||
<if test="userDefined10 != null">User_Defined10,</if>
|
||||
<if test="userDefined11 != null">User_Defined11,</if>
|
||||
<if test="supplierCode != null">Supplier_Code,</if>
|
||||
<if test="supplierName != null">Supplier_Name,</if>
|
||||
<if test="Remark != null">Remark,</if>
|
||||
<if test="createBy != null">Create_By,</if>
|
||||
<if test="createDate != null">Create_Date,</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By,</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date,</if>
|
||||
<if test="Active != null">Active,</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id,</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="siteCode != null">#{siteCode},</if>
|
||||
<if test="ID != null">#{ID},</if>
|
||||
<if test="orderCode != null">#{orderCode},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="planDate != null">#{planDate},</if>
|
||||
<if test="planNumber != null">#{planNumber},</if>
|
||||
<if test="Unit != null">#{Unit},</if>
|
||||
<if test="realityNumber != null">#{realityNumber},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="userDefined11 != null">#{userDefined11},</if>
|
||||
<if test="supplierCode != null">#{supplierCode},</if>
|
||||
<if test="supplierName != null">#{supplierName},</if>
|
||||
<if test="Remark != null">#{Remark},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createDate != null">#{createDate},</if>
|
||||
<if test="lastUpdateBy != null">#{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">#{lastUpdateDate},</if>
|
||||
<if test="Active != null">#{Active},</if>
|
||||
<if test="enterpriseId != null">#{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">#{enterpriseCode},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePowderChargeOrder" parameterType="PowderChargeOrder">
|
||||
update powder_charge_order
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="siteCode != null">Site_code = #{siteCode},</if>
|
||||
<if test="orderCode != null">Order_Code = #{orderCode},</if>
|
||||
<if test="materialCode != null">Material_Code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">Material_Desc = #{materialDesc},</if>
|
||||
<if test="planDate != null">Plan_Date = #{planDate},</if>
|
||||
<if test="planNumber != null">Plan_Number = #{planNumber},</if>
|
||||
<if test="Unit != null">Unit = #{Unit},</if>
|
||||
<if test="realityNumber != null">Reality_Number = #{realityNumber},</if>
|
||||
<if test="orderStatus != null">Order_Status = #{orderStatus},</if>
|
||||
<if test="userDefined1 != null">User_Defined1 = #{userDefined1},</if>
|
||||
<if test="userDefined2 != null">User_Defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">User_Defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">User_Defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">User_Defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">User_Defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">User_Defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">User_Defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">User_Defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">User_Defined10 = #{userDefined10},</if>
|
||||
<if test="userDefined11 != null">User_Defined11 = #{userDefined11},</if>
|
||||
<if test="supplierCode != null">Supplier_Code = #{supplierCode},</if>
|
||||
<if test="supplierName != null">Supplier_Name = #{supplierName},</if>
|
||||
<if test="Remark != null">Remark = #{Remark},</if>
|
||||
<if test="createBy != null">Create_By = #{createBy},</if>
|
||||
<if test="createDate != null">Create_Date = #{createDate},</if>
|
||||
<if test="lastUpdateBy != null">Last_Update_By = #{lastUpdateBy},</if>
|
||||
<if test="lastUpdateDate != null">Last_Update_Date = #{lastUpdateDate},</if>
|
||||
<if test="Active != null">Active = #{Active},</if>
|
||||
<if test="enterpriseId != null">Enterprise_Id = #{enterpriseId},</if>
|
||||
<if test="enterpriseCode != null">Enterprise_Code = #{enterpriseCode},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deletePowderChargeOrderByID" parameterType="String">
|
||||
delete from powder_charge_order where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePowderChargeOrderByIDs" parameterType="String">
|
||||
delete from powder_charge_order where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.PurcodeMapper">
|
||||
|
||||
<resultMap type="com.op.wms.domain.Purcode" id="PurcodeMap">
|
||||
<result property="rowId" column="ROW_ID" />
|
||||
<result property="orderType" column="ORDER_TYPE" />
|
||||
<result property="curDate" column="CUR_DATE" />
|
||||
<result property="value" column="VALUE" />
|
||||
</resultMap>
|
||||
|
||||
<select id="queryCurValue" resultType="java.lang.Integer">
|
||||
SELECT VALUE FROM purcode WHERE ORDER_TYPE = #{orderType} AND CUR_DATE = #{curDate}
|
||||
</select>
|
||||
<!--新增所有列-->
|
||||
<insert id="insert">
|
||||
insert into purcode(ORDER_TYPE, CUR_DATE, VALUE)
|
||||
values (#{orderType}, #{curDate}, #{value})
|
||||
</insert>
|
||||
<update id="updateCurValue">
|
||||
UPDATE purcode SET VALUE = #{value} + 1 WHERE ORDER_TYPE = #{orderType} AND CUR_DATE = #{curDate} AND VALUE = #{value}
|
||||
</update>
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue