From 7c6699418ed82c1bb028934d98bf491a9a58c355 Mon Sep 17 00:00:00 2001 From: wangh <123456> Date: Wed, 17 Jan 2024 17:37:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E5=85=A5=E5=BA=93=20?= =?UTF-8?q?=E5=8F=B0=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/api/controller/ApiController.java | 12 +- .../java/com/ruoyi/api/domain/InStoreDto.java | 66 ++++++++ .../java/com/ruoyi/api/mapper/ApiMapper.java | 17 ++ .../ruoyi/api/service/impl/ApiService.java | 24 +++ .../src/main/resources/mapper/ApiMapper.xml | 22 +++ .../resources/templates/pda_version/add.html | 125 -------------- .../resources/templates/pda_version/edit.html | 114 ------------- .../controller/LedgerRfidController.java | 127 ++++++++++++++ .../manage/controller/RecordInController.java | 127 ++++++++++++++ .../com/ruoyi/manage/domain/LedgerRfid.java | 130 ++++++++++++++ .../com/ruoyi/manage/domain/RecordIn.java | 96 +++++++++++ .../ruoyi/manage/mapper/LedgerRfidMapper.java | 62 +++++++ .../ruoyi/manage/mapper/RecordInMapper.java | 62 +++++++ .../manage/service/ILedgerRfidService.java | 61 +++++++ .../manage/service/IRecordInService.java | 61 +++++++ .../impl/BaseManufacturerServiceImpl.java | 2 +- .../service/impl/LedgerRfidServiceImpl.java | 91 ++++++++++ .../service/impl/RecordInServiceImpl.java | 93 +++++++++++ .../create_menu_sql/ledger_rfidMenu.sql | 22 +++ .../create_menu_sql/record_inMenu.sql | 22 +++ .../mapper/manage/LedgerRfidMapper.xml | 98 +++++++++++ .../mapper/manage/RecordInMapper.xml | 84 ++++++++++ .../templates/manage/ledger_rfid/add.html | 59 +++++++ .../templates/manage/ledger_rfid/edit.html | 60 +++++++ .../manage/ledger_rfid/ledger_rfid.html | 158 ++++++++++++++++++ .../templates/manage/record_in/add.html | 43 +++++ .../templates/manage/record_in/edit.html | 44 +++++ .../templates/manage/record_in/record_in.html | 60 ++++--- 28 files changed, 1669 insertions(+), 273 deletions(-) create mode 100644 ruoyi-api/src/main/java/com/ruoyi/api/domain/InStoreDto.java create mode 100644 ruoyi-api/src/main/java/com/ruoyi/api/mapper/ApiMapper.java create mode 100644 ruoyi-api/src/main/java/com/ruoyi/api/service/impl/ApiService.java create mode 100644 ruoyi-api/src/main/resources/mapper/ApiMapper.xml delete mode 100644 ruoyi-api/src/main/resources/templates/pda_version/add.html delete mode 100644 ruoyi-api/src/main/resources/templates/pda_version/edit.html create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/controller/LedgerRfidController.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInController.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/domain/LedgerRfid.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/domain/RecordIn.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/LedgerRfidMapper.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/RecordInMapper.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/service/ILedgerRfidService.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/service/IRecordInService.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/LedgerRfidServiceImpl.java create mode 100644 ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/RecordInServiceImpl.java create mode 100644 ruoyi-manage/src/main/resources/create_menu_sql/ledger_rfidMenu.sql create mode 100644 ruoyi-manage/src/main/resources/create_menu_sql/record_inMenu.sql create mode 100644 ruoyi-manage/src/main/resources/mapper/manage/LedgerRfidMapper.xml create mode 100644 ruoyi-manage/src/main/resources/mapper/manage/RecordInMapper.xml create mode 100644 ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/add.html create mode 100644 ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/edit.html create mode 100644 ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/ledger_rfid.html create mode 100644 ruoyi-manage/src/main/resources/templates/manage/record_in/add.html create mode 100644 ruoyi-manage/src/main/resources/templates/manage/record_in/edit.html rename ruoyi-api/src/main/resources/templates/pda_version/pda_version.html => ruoyi-manage/src/main/resources/templates/manage/record_in/record_in.html (70%) diff --git a/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java b/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java index 605a614..dc43a59 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java +++ b/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java @@ -1,5 +1,7 @@ package com.ruoyi.api.controller; +import com.ruoyi.api.domain.InStoreDto; +import com.ruoyi.api.service.impl.ApiService; import com.ruoyi.common.core.domain.AjaxResult; import static com.ruoyi.common.core.domain.AjaxResult.*; @@ -10,6 +12,7 @@ import com.ruoyi.manage.service.IBaseLocationService; import com.ruoyi.manage.service.IBaseManufacturerService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -29,6 +32,8 @@ public class ApiController { private IBaseLocationService baseLocationService; @Autowired private IBaseManufacturerService baseManufacturerService; + @Autowired + private ApiService apiService; //入库 // 查询库位 和 品牌 @@ -46,8 +51,11 @@ public class ApiController { map.put("baseManufacturerList", baseManufacturerList); return success(map); } - @PostMapping("/instore/submit") - public AjaxResult instoreSubmit(){ + @PostMapping("/instore/submit") + public AjaxResult instoreSubmit(@RequestBody InStoreDto inStore) { + apiService.submintInsertRecordIn(inStore); + apiService.submintInsertLedger(inStore); + return success(); } } diff --git a/ruoyi-api/src/main/java/com/ruoyi/api/domain/InStoreDto.java b/ruoyi-api/src/main/java/com/ruoyi/api/domain/InStoreDto.java new file mode 100644 index 0000000..e8a58ac --- /dev/null +++ b/ruoyi-api/src/main/java/com/ruoyi/api/domain/InStoreDto.java @@ -0,0 +1,66 @@ +package com.ruoyi.api.domain; + + +import java.util.ArrayList; +import java.util.List; + +/** + * @author wanghao + * @date 2024/1/11 16:21 + */ +public class InStoreDto { + + private String binchCode; + private String selectManuText; + private String selectLocationText; + private List epcList; + private String submitUser; + private Long manufacturerId; + public String getBinchCode() { + return binchCode; + } + + public void setBinchCode(String binchCode) { + this.binchCode = binchCode; + } + + public String getSelectManuText() { + return selectManuText; + } + + public void setSelectManuText(String selectManuText) { + this.selectManuText = selectManuText; + } + + public String getSelectLocationText() { + return selectLocationText; + } + + public void setSelectLocationText(String selectLocationText) { + this.selectLocationText = selectLocationText; + } + + public List getEpcList() { + return epcList; + } + + public void setEpcList(List epcList) { + this.epcList = epcList; + } + + public String getSubmitUser() { + return submitUser; + } + + public void setSubmitUser(String submitUser) { + this.submitUser = submitUser; + } + + public Long getManufacturerId() { + return manufacturerId; + } + + public void setManufacturerId(Long manufacturerId) { + this.manufacturerId = manufacturerId; + } +} diff --git a/ruoyi-api/src/main/java/com/ruoyi/api/mapper/ApiMapper.java b/ruoyi-api/src/main/java/com/ruoyi/api/mapper/ApiMapper.java new file mode 100644 index 0000000..4e6b918 --- /dev/null +++ b/ruoyi-api/src/main/java/com/ruoyi/api/mapper/ApiMapper.java @@ -0,0 +1,17 @@ +package com.ruoyi.api.mapper; + +import com.ruoyi.api.domain.InStoreDto; +import org.apache.ibatis.annotations.Param; +import org.springframework.stereotype.Repository; + +import java.util.List; + +/** + * @author wanghao + * @date 2024/1/17 14:28 + */ +@Repository +public interface ApiMapper { + int submintInsertRecordIn(@Param("inStore") InStoreDto inStore); + int submintInsertLedger(@Param("inStore") InStoreDto inStore); +} diff --git a/ruoyi-api/src/main/java/com/ruoyi/api/service/impl/ApiService.java b/ruoyi-api/src/main/java/com/ruoyi/api/service/impl/ApiService.java new file mode 100644 index 0000000..9b3a4e4 --- /dev/null +++ b/ruoyi-api/src/main/java/com/ruoyi/api/service/impl/ApiService.java @@ -0,0 +1,24 @@ +package com.ruoyi.api.service.impl; + +import com.ruoyi.api.domain.InStoreDto; +import com.ruoyi.api.mapper.ApiMapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * @author wanghao + * @date 2024/1/17 14:26 + */ +@Service +public class ApiService { + @Autowired + private ApiMapper mapper; + + public int submintInsertRecordIn(InStoreDto inStore) { + return mapper.submintInsertRecordIn(inStore); + } + + public int submintInsertLedger(InStoreDto inStore) { + return mapper.submintInsertLedger(inStore); + } +} diff --git a/ruoyi-api/src/main/resources/mapper/ApiMapper.xml b/ruoyi-api/src/main/resources/mapper/ApiMapper.xml new file mode 100644 index 0000000..eac644f --- /dev/null +++ b/ruoyi-api/src/main/resources/mapper/ApiMapper.xml @@ -0,0 +1,22 @@ + + + + + + INSERT INTO bg_wheel_chocks.record_in (epc_code, batch_code, location_code,manufacturer_id, manufacturer_Name, + create_by,create_time) + VALUES + + (#{item},#{inStore.binchCode},#{inStore.selectLocationText},#{inStore.manufacturerId},#{inStore.selectManuText},#{inStore.submitUser},now()) + + + + INSERT INTO bg_wheel_chocks.ledger_rfid (manufacturer_id, rifd_code, batch_code, location_code) + VALUES + + (#{inStore.manufacturerId},#{item},#{inStore.binchCode},#{inStore.selectLocationText}) + + + + + \ No newline at end of file diff --git a/ruoyi-api/src/main/resources/templates/pda_version/add.html b/ruoyi-api/src/main/resources/templates/pda_version/add.html deleted file mode 100644 index 41c00d3..0000000 --- a/ruoyi-api/src/main/resources/templates/pda_version/add.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- -
- - - - - -
-
-
-
- - - - - - \ No newline at end of file diff --git a/ruoyi-api/src/main/resources/templates/pda_version/edit.html b/ruoyi-api/src/main/resources/templates/pda_version/edit.html deleted file mode 100644 index ea7536f..0000000 --- a/ruoyi-api/src/main/resources/templates/pda_version/edit.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- -
- -
- -
-
-
-
-
- - - - - - \ No newline at end of file diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/LedgerRfidController.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/LedgerRfidController.java new file mode 100644 index 0000000..65c1f61 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/LedgerRfidController.java @@ -0,0 +1,127 @@ +package com.ruoyi.manage.controller; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.manage.domain.LedgerRfid; +import com.ruoyi.manage.service.ILedgerRfidService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 轮挡台账Controller + * + * @author wangh + * @date 2024-01-17 + */ +@Controller +@RequestMapping("/manage/ledger_rfid") +public class LedgerRfidController extends BaseController +{ + private String prefix = "manage/ledger_rfid"; + + @Autowired + private ILedgerRfidService ledgerRfidService; + + @RequiresPermissions("manage:ledger_rfid:view") + @GetMapping() + public String ledger_rfid() + { + return prefix + "/ledger_rfid"; + } + + /** + * 查询轮挡台账列表 + */ + @RequiresPermissions("manage:ledger_rfid:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(LedgerRfid ledgerRfid) + { + startPage(); + List list = ledgerRfidService.selectLedgerRfidList(ledgerRfid); + return getDataTable(list); + } + + /** + * 导出轮挡台账列表 + */ + @RequiresPermissions("manage:ledger_rfid:export") + @Log(title = "轮挡台账", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(LedgerRfid ledgerRfid) + { + List list = ledgerRfidService.selectLedgerRfidList(ledgerRfid); + ExcelUtil util = new ExcelUtil(LedgerRfid.class); + return util.exportExcel(list, "轮挡台账数据"); + } + + /** + * 新增轮挡台账 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存轮挡台账 + */ + @RequiresPermissions("manage:ledger_rfid:add") + @Log(title = "轮挡台账", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(LedgerRfid ledgerRfid) + { + return toAjax(ledgerRfidService.insertLedgerRfid(ledgerRfid)); + } + + /** + * 修改轮挡台账 + */ + @RequiresPermissions("manage:ledger_rfid:edit") + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + LedgerRfid ledgerRfid = ledgerRfidService.selectLedgerRfidByObjid(objid); + mmap.put("ledgerRfid", ledgerRfid); + return prefix + "/edit"; + } + + /** + * 修改保存轮挡台账 + */ + @RequiresPermissions("manage:ledger_rfid:edit") + @Log(title = "轮挡台账", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(LedgerRfid ledgerRfid) + { + return toAjax(ledgerRfidService.updateLedgerRfid(ledgerRfid)); + } + + /** + * 删除轮挡台账 + */ + @RequiresPermissions("manage:ledger_rfid:remove") + @Log(title = "轮挡台账", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(ledgerRfidService.deleteLedgerRfidByObjids(ids)); + } +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInController.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInController.java new file mode 100644 index 0000000..b572be4 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInController.java @@ -0,0 +1,127 @@ +package com.ruoyi.manage.controller; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.manage.domain.RecordIn; +import com.ruoyi.manage.service.IRecordInService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 轮挡入库记录Controller + * + * @author wangh + * @date 2024-01-17 + */ +@Controller +@RequestMapping("/manage/record_in") +public class RecordInController extends BaseController +{ + private String prefix = "manage/record_in"; + + @Autowired + private IRecordInService recordInService; + + @RequiresPermissions("manage:record_in:view") + @GetMapping() + public String record_in() + { + return prefix + "/record_in"; + } + + /** + * 查询轮挡入库记录列表 + */ + @RequiresPermissions("manage:record_in:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(RecordIn recordIn) + { + startPage(); + List list = recordInService.selectRecordInList(recordIn); + return getDataTable(list); + } + + /** + * 导出轮挡入库记录列表 + */ + @RequiresPermissions("manage:record_in:export") + @Log(title = "轮挡入库记录", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(RecordIn recordIn) + { + List list = recordInService.selectRecordInList(recordIn); + ExcelUtil util = new ExcelUtil(RecordIn.class); + return util.exportExcel(list, "轮挡入库记录数据"); + } + + /** + * 新增轮挡入库记录 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存轮挡入库记录 + */ + @RequiresPermissions("manage:record_in:add") + @Log(title = "轮挡入库记录", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(RecordIn recordIn) + { + return toAjax(recordInService.insertRecordIn(recordIn)); + } + + /** + * 修改轮挡入库记录 + */ + @RequiresPermissions("manage:record_in:edit") + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + RecordIn recordIn = recordInService.selectRecordInByObjid(objid); + mmap.put("recordIn", recordIn); + return prefix + "/edit"; + } + + /** + * 修改保存轮挡入库记录 + */ + @RequiresPermissions("manage:record_in:edit") + @Log(title = "轮挡入库记录", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(RecordIn recordIn) + { + return toAjax(recordInService.updateRecordIn(recordIn)); + } + + /** + * 删除轮挡入库记录 + */ + @RequiresPermissions("manage:record_in:remove") + @Log(title = "轮挡入库记录", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(recordInService.deleteRecordInByObjids(ids)); + } +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/domain/LedgerRfid.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/domain/LedgerRfid.java new file mode 100644 index 0000000..da49fe2 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/domain/LedgerRfid.java @@ -0,0 +1,130 @@ +package com.ruoyi.manage.domain; + +import com.ruoyi.common.annotation.Excels; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 轮挡台账对象 ledger_rfid + * + * @author wangh + * @date 2024-01-17 + */ +public class LedgerRfid extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private Long objid; + + /** + * 厂家id + */ + // @Excel(name = "厂家id") + private Long manufacturerId; + @Excels({@Excel(name = "厂家代码", targetAttr = "manufacturerCode", type = Excel.Type.EXPORT), + @Excel(name = "厂家名称", targetAttr = "manufacturerName", type = Excel.Type.EXPORT)}) + private BaseManufacturer baseManufacturer; + /** + * RFID编码 + */ + @Excel(name = "RFID编码") + private String rifdCode; + + /** + * 生产批次 + */ + @Excel(name = "生产批次") + private String batchCode; + + /** + * 所在位置 + */ + @Excel(name = "所在位置") + private String locationType; + + /** + * 位置编码 + */ + @Excel(name = "位置编码") + private String locationCode; + + /** + * 是否报废 + */ + @Excel(name = "轮挡状态", readConverterExp = "1=正常,2=报废,3=报废处理") + private String isScrap; + + public void setObjid(Long objid) { + this.objid = objid; + } + + public Long getObjid() { + return objid; + } + + public void setManufacturerId(Long manufacturerId) { + this.manufacturerId = manufacturerId; + } + + public Long getManufacturerId() { + return manufacturerId; + } + + public void setRifdCode(String rifdCode) { + this.rifdCode = rifdCode; + } + + public String getRifdCode() { + return rifdCode; + } + + public void setBatchCode(String batchCode) { + this.batchCode = batchCode; + } + + public String getBatchCode() { + return batchCode; + } + + public void setLocationType(String locationType) { + this.locationType = locationType; + } + + public String getLocationType() { + return locationType; + } + + public void setLocationCode(String locationCode) { + this.locationCode = locationCode; + } + + public String getLocationCode() { + return locationCode; + } + + public void setIsScrap(String isScrap) { + this.isScrap = isScrap; + } + + public String getIsScrap() { + return isScrap; + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("objid", getObjid()).append("manufacturerId", getManufacturerId()).append("rifdCode", getRifdCode()).append("batchCode", getBatchCode()).append("locationType", getLocationType()).append("locationCode", getLocationCode()).append("isScrap", getIsScrap()).append("updateTime", getUpdateTime()).toString(); + } + + + public BaseManufacturer getBaseManufacturer() { + return baseManufacturer; + } + + public void setBaseManufacturer(BaseManufacturer baseManufacturer) { + this.baseManufacturer = baseManufacturer; + } +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/domain/RecordIn.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/domain/RecordIn.java new file mode 100644 index 0000000..dd9bce5 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/domain/RecordIn.java @@ -0,0 +1,96 @@ +package com.ruoyi.manage.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 轮挡入库记录对象 record_in + * + * @author wangh + * @date 2024-01-17 + */ +public class RecordIn extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private Long objid; + + /** RFID编码 */ + @Excel(name = "RFID编码") + private String epcCode; + + /** 批次码 */ + @Excel(name = "批次码") + private String batchCode; + + /** 库位码 */ + @Excel(name = "库位码") + private String locationCode; + + /** 厂家 */ + @Excel(name = "厂家") + private String manufacturerName; + + public void setObjid(Long objid) + { + this.objid = objid; + } + + public Long getObjid() + { + return objid; + } + public void setEpcCode(String epcCode) + { + this.epcCode = epcCode; + } + + public String getEpcCode() + { + return epcCode; + } + public void setBatchCode(String batchCode) + { + this.batchCode = batchCode; + } + + public String getBatchCode() + { + return batchCode; + } + public void setLocationCode(String locationCode) + { + this.locationCode = locationCode; + } + + public String getLocationCode() + { + return locationCode; + } + public void setManufacturerName(String manufacturerName) + { + this.manufacturerName = manufacturerName; + } + + public String getManufacturerName() + { + return manufacturerName; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("objid", getObjid()) + .append("epcCode", getEpcCode()) + .append("batchCode", getBatchCode()) + .append("locationCode", getLocationCode()) + .append("manufacturerName", getManufacturerName()) + .append("remark", getRemark()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .toString(); + } +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/LedgerRfidMapper.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/LedgerRfidMapper.java new file mode 100644 index 0000000..d742152 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/LedgerRfidMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.manage.mapper; + +import java.util.List; +import com.ruoyi.manage.domain.LedgerRfid; +import org.springframework.stereotype.Repository; +/** + * 轮挡台账Mapper接口 + * + * @author wangh + * @date 2024-01-17 + */ +@Repository +public interface LedgerRfidMapper +{ + /** + * 查询轮挡台账 + * + * @param objid 轮挡台账主键 + * @return 轮挡台账 + */ + public LedgerRfid selectLedgerRfidByObjid(Long objid); + + /** + * 查询轮挡台账列表 + * + * @param ledgerRfid 轮挡台账 + * @return 轮挡台账集合 + */ + public List selectLedgerRfidList(LedgerRfid ledgerRfid); + + /** + * 新增轮挡台账 + * + * @param ledgerRfid 轮挡台账 + * @return 结果 + */ + public int insertLedgerRfid(LedgerRfid ledgerRfid); + + /** + * 修改轮挡台账 + * + * @param ledgerRfid 轮挡台账 + * @return 结果 + */ + public int updateLedgerRfid(LedgerRfid ledgerRfid); + + /** + * 删除轮挡台账 + * + * @param objid 轮挡台账主键 + * @return 结果 + */ + public int deleteLedgerRfidByObjid(Long objid); + + /** + * 批量删除轮挡台账 + * + * @param objids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteLedgerRfidByObjids(String[] objids); +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/RecordInMapper.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/RecordInMapper.java new file mode 100644 index 0000000..89c8f36 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/mapper/RecordInMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.manage.mapper; + +import java.util.List; +import com.ruoyi.manage.domain.RecordIn; +import org.springframework.stereotype.Repository; +/** + * 轮挡入库记录Mapper接口 + * + * @author wangh + * @date 2024-01-17 + */ +@Repository +public interface RecordInMapper +{ + /** + * 查询轮挡入库记录 + * + * @param objid 轮挡入库记录主键 + * @return 轮挡入库记录 + */ + public RecordIn selectRecordInByObjid(Long objid); + + /** + * 查询轮挡入库记录列表 + * + * @param recordIn 轮挡入库记录 + * @return 轮挡入库记录集合 + */ + public List selectRecordInList(RecordIn recordIn); + + /** + * 新增轮挡入库记录 + * + * @param recordIn 轮挡入库记录 + * @return 结果 + */ + public int insertRecordIn(RecordIn recordIn); + + /** + * 修改轮挡入库记录 + * + * @param recordIn 轮挡入库记录 + * @return 结果 + */ + public int updateRecordIn(RecordIn recordIn); + + /** + * 删除轮挡入库记录 + * + * @param objid 轮挡入库记录主键 + * @return 结果 + */ + public int deleteRecordInByObjid(Long objid); + + /** + * 批量删除轮挡入库记录 + * + * @param objids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteRecordInByObjids(String[] objids); +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/service/ILedgerRfidService.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/ILedgerRfidService.java new file mode 100644 index 0000000..bc3eac6 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/ILedgerRfidService.java @@ -0,0 +1,61 @@ +package com.ruoyi.manage.service; + +import java.util.List; +import com.ruoyi.manage.domain.LedgerRfid; + +/** + * 轮挡台账Service接口 + * + * @author wangh + * @date 2024-01-17 + */ +public interface ILedgerRfidService +{ + /** + * 查询轮挡台账 + * + * @param objid 轮挡台账主键 + * @return 轮挡台账 + */ + public LedgerRfid selectLedgerRfidByObjid(Long objid); + + /** + * 查询轮挡台账列表 + * + * @param ledgerRfid 轮挡台账 + * @return 轮挡台账集合 + */ + public List selectLedgerRfidList(LedgerRfid ledgerRfid); + + /** + * 新增轮挡台账 + * + * @param ledgerRfid 轮挡台账 + * @return 结果 + */ + public int insertLedgerRfid(LedgerRfid ledgerRfid); + + /** + * 修改轮挡台账 + * + * @param ledgerRfid 轮挡台账 + * @return 结果 + */ + public int updateLedgerRfid(LedgerRfid ledgerRfid); + + /** + * 批量删除轮挡台账 + * + * @param objids 需要删除的轮挡台账主键集合 + * @return 结果 + */ + public int deleteLedgerRfidByObjids(String objids); + + /** + * 删除轮挡台账信息 + * + * @param objid 轮挡台账主键 + * @return 结果 + */ + public int deleteLedgerRfidByObjid(Long objid); +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/service/IRecordInService.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/IRecordInService.java new file mode 100644 index 0000000..3995711 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/IRecordInService.java @@ -0,0 +1,61 @@ +package com.ruoyi.manage.service; + +import java.util.List; +import com.ruoyi.manage.domain.RecordIn; + +/** + * 轮挡入库记录Service接口 + * + * @author wangh + * @date 2024-01-17 + */ +public interface IRecordInService +{ + /** + * 查询轮挡入库记录 + * + * @param objid 轮挡入库记录主键 + * @return 轮挡入库记录 + */ + public RecordIn selectRecordInByObjid(Long objid); + + /** + * 查询轮挡入库记录列表 + * + * @param recordIn 轮挡入库记录 + * @return 轮挡入库记录集合 + */ + public List selectRecordInList(RecordIn recordIn); + + /** + * 新增轮挡入库记录 + * + * @param recordIn 轮挡入库记录 + * @return 结果 + */ + public int insertRecordIn(RecordIn recordIn); + + /** + * 修改轮挡入库记录 + * + * @param recordIn 轮挡入库记录 + * @return 结果 + */ + public int updateRecordIn(RecordIn recordIn); + + /** + * 批量删除轮挡入库记录 + * + * @param objids 需要删除的轮挡入库记录主键集合 + * @return 结果 + */ + public int deleteRecordInByObjids(String objids); + + /** + * 删除轮挡入库记录信息 + * + * @param objid 轮挡入库记录主键 + * @return 结果 + */ + public int deleteRecordInByObjid(Long objid); +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/BaseManufacturerServiceImpl.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/BaseManufacturerServiceImpl.java index 5cbb411..9458830 100644 --- a/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/BaseManufacturerServiceImpl.java +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/BaseManufacturerServiceImpl.java @@ -18,7 +18,7 @@ import com.ruoyi.common.core.text.Convert; * @author wangh * @date 2023-12-18 */ -@Service +@Service("baseManufacturerService") public class BaseManufacturerServiceImpl implements IBaseManufacturerService { @Autowired private BaseManufacturerMapper baseManufacturerMapper; diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/LedgerRfidServiceImpl.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/LedgerRfidServiceImpl.java new file mode 100644 index 0000000..a956a23 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/LedgerRfidServiceImpl.java @@ -0,0 +1,91 @@ +package com.ruoyi.manage.service.impl; + +import java.util.List; + + +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.manage.mapper.LedgerRfidMapper; +import com.ruoyi.manage.domain.LedgerRfid; +import com.ruoyi.manage.service.ILedgerRfidService; +import com.ruoyi.common.core.text.Convert; + +/** + * 轮挡台账Service业务层处理 + * + * @author wangh + * @date 2024-01-17 + */ +@Service +public class LedgerRfidServiceImpl implements ILedgerRfidService { + @Autowired + private LedgerRfidMapper ledgerRfidMapper; + + /** + * 查询轮挡台账 + * + * @param objid 轮挡台账主键 + * @return 轮挡台账 + */ + @Override + public LedgerRfid selectLedgerRfidByObjid(Long objid) { + return ledgerRfidMapper.selectLedgerRfidByObjid(objid); + } + + /** + * 查询轮挡台账列表 + * + * @param ledgerRfid 轮挡台账 + * @return 轮挡台账 + */ + @Override + public List selectLedgerRfidList(LedgerRfid ledgerRfid) { + return ledgerRfidMapper.selectLedgerRfidList(ledgerRfid); + } + + /** + * 新增轮挡台账 + * + * @param ledgerRfid 轮挡台账 + * @return 结果 + */ + @Override + public int insertLedgerRfid(LedgerRfid ledgerRfid) { + return ledgerRfidMapper.insertLedgerRfid(ledgerRfid); + } + + /** + * 修改轮挡台账 + * + * @param ledgerRfid 轮挡台账 + * @return 结果 + */ + @Override + public int updateLedgerRfid(LedgerRfid ledgerRfid) { + ledgerRfid.setUpdateTime(DateUtils.getNowDate()); + return ledgerRfidMapper.updateLedgerRfid(ledgerRfid); + } + + /** + * 批量删除轮挡台账 + * + * @param objids 需要删除的轮挡台账主键 + * @return 结果 + */ + @Override + public int deleteLedgerRfidByObjids(String objids) { + return ledgerRfidMapper.deleteLedgerRfidByObjids(Convert.toStrArray(objids)); + } + + /** + * 删除轮挡台账信息 + * + * @param objid 轮挡台账主键 + * @return 结果 + */ + @Override + public int deleteLedgerRfidByObjid(Long objid) { + return ledgerRfidMapper.deleteLedgerRfidByObjid(objid); + } +} diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/RecordInServiceImpl.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/RecordInServiceImpl.java new file mode 100644 index 0000000..7ee70f0 --- /dev/null +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/service/impl/RecordInServiceImpl.java @@ -0,0 +1,93 @@ +package com.ruoyi.manage.service.impl; + +import java.util.List; + + +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.common.utils.ShiroUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.manage.mapper.RecordInMapper; +import com.ruoyi.manage.domain.RecordIn; +import com.ruoyi.manage.service.IRecordInService; +import com.ruoyi.common.core.text.Convert; + +/** + * 轮挡入库记录Service业务层处理 + * + * @author wangh + * @date 2024-01-17 + */ +@Service +public class RecordInServiceImpl implements IRecordInService { + @Autowired + private RecordInMapper recordInMapper; + + /** + * 查询轮挡入库记录 + * + * @param objid 轮挡入库记录主键 + * @return 轮挡入库记录 + */ + @Override + public RecordIn selectRecordInByObjid(Long objid) { + return recordInMapper.selectRecordInByObjid(objid); + } + + /** + * 查询轮挡入库记录列表 + * + * @param recordIn 轮挡入库记录 + * @return 轮挡入库记录 + */ + @Override + public List selectRecordInList(RecordIn recordIn) { + return recordInMapper.selectRecordInList(recordIn); + } + + /** + * 新增轮挡入库记录 + * + * @param recordIn 轮挡入库记录 + * @return 结果 + */ + @Override + public int insertRecordIn(RecordIn recordIn) { + recordIn.setCreateBy(ShiroUtils.getLoginName()); + recordIn.setCreateTime(DateUtils.getNowDate()); + return recordInMapper.insertRecordIn(recordIn); + } + + /** + * 修改轮挡入库记录 + * + * @param recordIn 轮挡入库记录 + * @return 结果 + */ + @Override + public int updateRecordIn(RecordIn recordIn) { + return recordInMapper.updateRecordIn(recordIn); + } + + /** + * 批量删除轮挡入库记录 + * + * @param objids 需要删除的轮挡入库记录主键 + * @return 结果 + */ + @Override + public int deleteRecordInByObjids(String objids) { + return recordInMapper.deleteRecordInByObjids(Convert.toStrArray(objids)); + } + + /** + * 删除轮挡入库记录信息 + * + * @param objid 轮挡入库记录主键 + * @return 结果 + */ + @Override + public int deleteRecordInByObjid(Long objid) { + return recordInMapper.deleteRecordInByObjid(objid); + } +} diff --git a/ruoyi-manage/src/main/resources/create_menu_sql/ledger_rfidMenu.sql b/ruoyi-manage/src/main/resources/create_menu_sql/ledger_rfidMenu.sql new file mode 100644 index 0000000..2414c72 --- /dev/null +++ b/ruoyi-manage/src/main/resources/create_menu_sql/ledger_rfidMenu.sql @@ -0,0 +1,22 @@ +-- 菜单 SQL +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡台账', '2026', '1', '/manage/ledger_rfid', 'C', '0', 'manage:ledger_rfid:view', '#', 'admin', sysdate(), '', null, '轮挡台账菜单'); + +-- 按钮父菜单ID +SELECT @parentId := LAST_INSERT_ID(); + +-- 按钮 SQL +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡台账查询', @parentId, '1', '#', 'F', '0', 'manage:ledger_rfid:list', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡台账新增', @parentId, '2', '#', 'F', '0', 'manage:ledger_rfid:add', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡台账修改', @parentId, '3', '#', 'F', '0', 'manage:ledger_rfid:edit', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡台账删除', @parentId, '4', '#', 'F', '0', 'manage:ledger_rfid:remove', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡台账导出', @parentId, '5', '#', 'F', '0', 'manage:ledger_rfid:export', '#', 'admin', sysdate(), '', null, ''); diff --git a/ruoyi-manage/src/main/resources/create_menu_sql/record_inMenu.sql b/ruoyi-manage/src/main/resources/create_menu_sql/record_inMenu.sql new file mode 100644 index 0000000..052858b --- /dev/null +++ b/ruoyi-manage/src/main/resources/create_menu_sql/record_inMenu.sql @@ -0,0 +1,22 @@ +-- 菜单 SQL +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡入库记录', '2026', '1', '/manage/record_in', 'C', '0', 'manage:record_in:view', '#', 'admin', sysdate(), '', null, '轮挡入库记录菜单'); + +-- 按钮父菜单ID +SELECT @parentId := LAST_INSERT_ID(); + +-- 按钮 SQL +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡入库记录查询', @parentId, '1', '#', 'F', '0', 'manage:record_in:list', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡入库记录新增', @parentId, '2', '#', 'F', '0', 'manage:record_in:add', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡入库记录修改', @parentId, '3', '#', 'F', '0', 'manage:record_in:edit', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡入库记录删除', @parentId, '4', '#', 'F', '0', 'manage:record_in:remove', '#', 'admin', sysdate(), '', null, ''); + +insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark) +values('轮挡入库记录导出', @parentId, '5', '#', 'F', '0', 'manage:record_in:export', '#', 'admin', sysdate(), '', null, ''); diff --git a/ruoyi-manage/src/main/resources/mapper/manage/LedgerRfidMapper.xml b/ruoyi-manage/src/main/resources/mapper/manage/LedgerRfidMapper.xml new file mode 100644 index 0000000..83ad051 --- /dev/null +++ b/ruoyi-manage/src/main/resources/mapper/manage/LedgerRfidMapper.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + select objid, + lr.manufacturer_id, + rifd_code, + batch_code, + location_type, + location_code, + is_scrap, + lr.update_time, + bm.manufacturer_code, + bm.manufacturer_name + from ledger_rfid lr + left join base_manufacturer bm on lr.manufacturer_id = bm.manufacturer_id + + + + + + + + insert into ledger_rfid + + manufacturer_id, + rifd_code, + batch_code, + location_type, + location_code, + is_scrap, + update_time, + + + #{manufacturerId}, + #{rifdCode}, + #{batchCode}, + #{locationType}, + #{locationCode}, + #{isScrap}, + #{updateTime}, + + + + + update ledger_rfid + + manufacturer_id = #{manufacturerId}, + rifd_code = #{rifdCode}, + batch_code = #{batchCode}, + location_type = #{locationType}, + location_code = #{locationCode}, + is_scrap = #{isScrap}, + update_time = #{updateTime}, + + where objid = #{objid} + + + + delete from ledger_rfid where objid = #{objid} + + + + delete from ledger_rfid where objid in + + #{objid} + + + + \ No newline at end of file diff --git a/ruoyi-manage/src/main/resources/mapper/manage/RecordInMapper.xml b/ruoyi-manage/src/main/resources/mapper/manage/RecordInMapper.xml new file mode 100644 index 0000000..f3ffb55 --- /dev/null +++ b/ruoyi-manage/src/main/resources/mapper/manage/RecordInMapper.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + select objid, epc_code, batch_code, location_code, manufacturer_Name, remark, create_by, create_time from record_in + + + + + + + + insert into record_in + + epc_code, + batch_code, + location_code, + manufacturer_Name, + remark, + create_by, + create_time, + + + #{epcCode}, + #{batchCode}, + #{locationCode}, + #{manufacturerName}, + #{remark}, + #{createBy}, + #{createTime}, + + + + + update record_in + + epc_code = #{epcCode}, + batch_code = #{batchCode}, + location_code = #{locationCode}, + manufacturer_Name = #{manufacturerName}, + remark = #{remark}, + create_by = #{createBy}, + create_time = #{createTime}, + + where objid = #{objid} + + + + delete from record_in where objid = #{objid} + + + + delete from record_in where objid in + + #{objid} + + + + \ No newline at end of file diff --git a/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/add.html b/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/add.html new file mode 100644 index 0000000..3bcf40e --- /dev/null +++ b/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/add.html @@ -0,0 +1,59 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/edit.html b/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/edit.html new file mode 100644 index 0000000..5e5acee --- /dev/null +++ b/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/edit.html @@ -0,0 +1,60 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/ledger_rfid.html b/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/ledger_rfid.html new file mode 100644 index 0000000..9892642 --- /dev/null +++ b/ruoyi-manage/src/main/resources/templates/manage/ledger_rfid/ledger_rfid.html @@ -0,0 +1,158 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-manage/src/main/resources/templates/manage/record_in/add.html b/ruoyi-manage/src/main/resources/templates/manage/record_in/add.html new file mode 100644 index 0000000..dd71371 --- /dev/null +++ b/ruoyi-manage/src/main/resources/templates/manage/record_in/add.html @@ -0,0 +1,43 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-manage/src/main/resources/templates/manage/record_in/edit.html b/ruoyi-manage/src/main/resources/templates/manage/record_in/edit.html new file mode 100644 index 0000000..e7fc0f6 --- /dev/null +++ b/ruoyi-manage/src/main/resources/templates/manage/record_in/edit.html @@ -0,0 +1,44 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-api/src/main/resources/templates/pda_version/pda_version.html b/ruoyi-manage/src/main/resources/templates/manage/record_in/record_in.html similarity index 70% rename from ruoyi-api/src/main/resources/templates/pda_version/pda_version.html rename to ruoyi-manage/src/main/resources/templates/manage/record_in/record_in.html index 97d7537..94a0b27 100644 --- a/ruoyi-api/src/main/resources/templates/pda_version/pda_version.html +++ b/ruoyi-manage/src/main/resources/templates/manage/record_in/record_in.html @@ -1,7 +1,7 @@ - +
@@ -11,8 +11,12 @@
  • - - + + +
  • +
  • + +
  •  搜索 @@ -24,16 +28,16 @@
@@ -44,9 +48,9 @@