代码规范修改

This commit is contained in:
liang.chao 2024-01-30 17:16:19 +08:00
parent e920a9fd61
commit 820e6dd77e
7 changed files with 210 additions and 19 deletions

View File

@ -79,7 +79,7 @@ public interface PurchaseCheckInfoMapper
int insertBmNoticeInfo(BmNoticeInfo bmNoticeInfo); int insertBmNoticeInfo(BmNoticeInfo bmNoticeInfo);
/** /**
* * 查询
* @param purchaseCheckInfo * @param purchaseCheckInfo
* @return * @return
*/ */
@ -87,11 +87,14 @@ public interface PurchaseCheckInfoMapper
/** /**
* 新购验收 * 新购验收
* @param purchaseCheckInfo
* @return
*/ */
List<PurchaseCheckInfo> exportList(PurchaseCheckInfo purchaseCheckInfo); List<PurchaseCheckInfo> exportList(PurchaseCheckInfo purchaseCheckInfo);
/** /**
* 新购入库导出 * 新购入库导出
* @param purchaseCheckInfo
* @return
*/ */
List<PurchaseInput> putInExportList(PurchaseCheckInfo purchaseCheckInfo); List<PurchaseInput> putInExportList(PurchaseCheckInfo purchaseCheckInfo);
} }

View File

@ -70,48 +70,160 @@ public interface PurchaseMacodeInfoMapper {
*/ */
public int deletePurchaseMacodeInfoByTaskIds(Long[] taskIds); public int deletePurchaseMacodeInfoByTaskIds(Long[] taskIds);
/**
* 查询
* @param typeId
* @return
*/
JSONObject getTypeByTypeId(long typeId); JSONObject getTypeByTypeId(long typeId);
/**
* 查询
* @param typeId
* @param nowDate
* @return
*/
int getSerialNumber(@Param("typeId") long typeId, @Param("nowDate") Date nowDate); int getSerialNumber(@Param("typeId") long typeId, @Param("nowDate") Date nowDate);
/**
* 查询
* @param typeId
* @return
*/
JSONObject getTypeNameByTypeId(Long typeId); JSONObject getTypeNameByTypeId(Long typeId);
/**
* 删除
* @param id
* @return
*/
int deletePurchaseMacodeInfoById(Long id); int deletePurchaseMacodeInfoById(Long id);
/**
* 查询
* @param fixCode
* @return
*/
MaMachine selectMachineByAssetsCode(String fixCode); MaMachine selectMachineByAssetsCode(String fixCode);
/**
* 增加机具
* @param maMachine
* @return
*/
int maMachineAdd(MaMachine maMachine); int maMachineAdd(MaMachine maMachine);
/**
* 当全部为已入库的时候任务改为入库状态
* @param taskId
* @return
*/
Integer selectMacodeInfoStatusByTaskId(Long taskId); Integer selectMacodeInfoStatusByTaskId(Long taskId);
/**
* 插入
* @param maInputRecord
* @return
*/
int insertMaInputRecord(MaInputRecord maInputRecord); int insertMaInputRecord(MaInputRecord maInputRecord);
/**
* 查询
* @param typeId
* @return
*/
MaType selectTypeByTypeId(Long typeId); MaType selectTypeByTypeId(Long typeId);
/**
* 修改
* @param maType
* @return
*/
int updateTypeByTypeId(MaType maType); int updateTypeByTypeId(MaType maType);
/**
* 修改
* @param maMachine
* @return
*/
int updateMaMachine(MaMachine maMachine); int updateMaMachine(MaMachine maMachine);
/**
* 查询
* @param codingRule
* @return
*/
int selectMachineByMaCode(String codingRule); int selectMachineByMaCode(String codingRule);
/**
* 根据机具编码删除编码
* @param maCode
* @return
*/
int deletePurchaseMacodeInfoByMaCode(String maCode); int deletePurchaseMacodeInfoByMaCode(String maCode);
/**
* 根据机具编码删除编码
* @param maCode
* @return
*/
int deleteMaMachineInfoByMaCode(String maCode); int deleteMaMachineInfoByMaCode(String maCode);
/**
*根据类型id和任务id查询编码详情
* @param purchaseMacodeInfo
* @return
*/
List<PurchaseMacodeInfo> selectPurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo); List<PurchaseMacodeInfo> selectPurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo);
/**
* 获取入库清单明细
* @param purchaseMacodeInfo
* @return
*/
List<PurchaseMacodeInfo> selectPutinDetails(PurchaseMacodeInfo purchaseMacodeInfo); List<PurchaseMacodeInfo> selectPutinDetails(PurchaseMacodeInfo purchaseMacodeInfo);
/**
* 查询
* @param maCode
* @return
*/
int selectMaCode(String maCode); int selectMaCode(String maCode);
/**
* 修改
* @param purchaseMacodeInfo
* @return
*/
int updateMacodeByType(PurchaseMacodeInfo purchaseMacodeInfo); int updateMacodeByType(PurchaseMacodeInfo purchaseMacodeInfo);
/**
* 查询
* @param nowDate
* @return
*/
int selectLableNumByMonth(Date nowDate); int selectLableNumByMonth(Date nowDate);
/**
* 插入
* @param maMachineLabel
* @return
*/
int insertMaMachineLabel(MaMachineLabel maMachineLabel); int insertMaMachineLabel(MaMachineLabel maMachineLabel);
/**
* 插入
* @param maLabelBind
* @return
*/
int insertMaLabelBind(MaLabelBind maLabelBind); int insertMaLabelBind(MaLabelBind maLabelBind);
/**
* 插入
* @param applyDetails
* @return
*/
int insertInputApplyDetails(InputApplyDetails applyDetails); int insertInputApplyDetails(InputApplyDetails applyDetails);
} }

View File

@ -65,23 +65,73 @@ public interface RepairAuditDetailsMapper
*/ */
public int deleteRepairAuditDetailsByIds(Long[] ids); public int deleteRepairAuditDetailsByIds(Long[] ids);
/**
* 查询
* @param repairAuditDetails
* @return
*/
List<ScrapApplyDetailsVO> selectRepairQuestList(RepairAuditDetails repairAuditDetails); List<ScrapApplyDetailsVO> selectRepairQuestList(RepairAuditDetails repairAuditDetails);
/**
* 查询
* @param taskId
* @return
*/
List<RepairAuditDetails> selectRepairAuditDetailsByTaskId(Long taskId); List<RepairAuditDetails> selectRepairAuditDetailsByTaskId(Long taskId);
/**
* 查询
* @param taskId
* @return
*/
String selectTypeNameByTaskId(Long taskId); String selectTypeNameByTaskId(Long taskId);
/**
* 导出
* @param bean
* @return
*/
List<RepairAuditDetailsVO> exportRepairQuestList(RepairAuditDetails bean); List<RepairAuditDetailsVO> exportRepairQuestList(RepairAuditDetails bean);
/**
* 查询
* @param taskId
* @return
*/
List<RepairAuditDetails> selectRepairInputByTaskId(Long taskId); List<RepairAuditDetails> selectRepairInputByTaskId(Long taskId);
/**
* 查询
* @param taskId
* @return
*/
List<RepairAuditDetails> selectScrapNumByTaskId(Long taskId); List<RepairAuditDetails> selectScrapNumByTaskId(Long taskId);
/**
* 修改
* @param bean
* @return
*/
int updateStatus(RepairAuditDetails bean); int updateStatus(RepairAuditDetails bean);
/**
* 新增
* @param repairTaskDetails
* @return
*/
int insertRepairDetails(RepairTaskDetails repairTaskDetails); int insertRepairDetails(RepairTaskDetails repairTaskDetails);
/**
* 查询
* @param repairId
* @return
*/
Long getBackId(Long repairId); Long getBackId(Long repairId);
/**
* 查询
* @param taskId
* @return
*/
List<RepairAuditDetails> selectnotAuditByTaskId(Long taskId); List<RepairAuditDetails> selectnotAuditByTaskId(Long taskId);
} }

View File

@ -15,100 +15,106 @@ import java.util.Map;
public interface RepairTestInputMapper { public interface RepairTestInputMapper {
/** /**
* 获取修试后入库列表
* @param dto * @param dto
* @return List<RepairTestInputVo> * @return List<RepairTestInputVo>
* @description 获取修试后入库列表
* @author cwchen * @author cwchen
* @date 2023/12/16 16:05 * @date 2023/12/16 16:05
*/ */
List<RepairTestInputVo> getRepairedList(RepairTestInputDto dto); List<RepairTestInputVo> getRepairedList(RepairTestInputDto dto);
/** /**
* 获取修试后入库-详情列表
* @param dto * @param dto
* @return List<RepairTestInputVo> * @return List<RepairTestInputVo>
* @description 获取修试后入库-详情列表
* @author cwchen * @author cwchen
* @date 2023/12/16 17:34 * @date 2023/12/16 17:34
*/ */
List<RepairTestInputDetailVo> getRepairedDetailList(RepairTestInputDto dto); List<RepairTestInputDetailVo> getRepairedDetailList(RepairTestInputDto dto);
/** /**
* 更新修试后入库-数据
* @param dto * @param dto
* @description 更新修试后入库-数据
* @author cwchen * @author cwchen
* @date 2023/12/16 19:17 * @date 2023/12/16 19:17
*/ */
void updateRepairInputDetails(RepairTestWarehousingDto dto); void updateRepairInputDetails(RepairTestWarehousingDto dto);
/** /**
* 新增入库任务详细表-数据
* @param dto * @param dto
* @description 新增入库任务详细表-数据
* @author cwchen * @author cwchen
* @date 2023/12/16 19:33 * @date 2023/12/16 19:33
*/ */
void addInputApplyDetails(RepairTestWarehousingDto dto); void addInputApplyDetails(RepairTestWarehousingDto dto);
/** /**
* 查询机具类型-库存数量
* @param typeId * @param typeId
* @return Map<Object> * @return Map<Object>
* @description 查询机具类型-库存数量
* @author cwchen * @author cwchen
* @date 2023/12/16 20:24 * @date 2023/12/16 20:24
*/ */
Map<String, Object> getMaTypeByNum(String typeId); Map<String, Object> getMaTypeByNum(String typeId);
/** /**
* 更新机具类型-库存数量
* @param typeId * @param typeId
* @param num * @param num
* @description 更新机具类型-库存数量
* @author cwchen * @author cwchen
* @date 2023/12/16 20:45 * @date 2023/12/16 20:45
*/ */
void updateMaTypeNum(@Param("typeId") String typeId, @Param("num") double num); void updateMaTypeNum(@Param("typeId") String typeId, @Param("num") double num);
/** /**
* 查询机具状态-在库的id
* @param maStatus * @param maStatus
* @param status * @param status
* @return int * @return int
* @description 查询机具状态-在库的id
* @author cwchen * @author cwchen
* @date 2023/12/16 20:52 * @date 2023/12/16 20:52
*/ */
int getDicByMaStatusId(@Param("maStatus") String maStatus, @Param("status") String status); int getDicByMaStatusId(@Param("maStatus") String maStatus, @Param("status") String status);
/** /**
* 管理方式为编号的需更新机具设备的机具状态
* @param dicId * @param dicId
* @param maId * @param maId
* @description 管理方式为编号的需更新机具设备的机具状态
* @author cwchen * @author cwchen
* @date 2023/12/16 20:59 * @date 2023/12/16 20:59
*/ */
void updateMaMachineStatus(@Param("dicId") int dicId, @Param("maId") String maId); void updateMaMachineStatus(@Param("dicId") int dicId, @Param("maId") String maId);
/** /**
* 查询修试后入库的状态是否全部更新
* @param dto * @param dto
* @return List<Integer> * @return List<Integer>
* @description 查询修试后入库的状态是否全部更新
* @author cwchen * @author cwchen
* @date 2023/12/16 21:03 * @date 2023/12/16 21:03
*/ */
Map<String, Object> getIsAllUpdate(RepairTestWarehousingDto dto); Map<String, Object> getIsAllUpdate(RepairTestWarehousingDto dto);
/** /**
* 更新任务表状态
* @param dto * @param dto
* @param dicId * @param dicId
* @description 更新任务表状态
* @author cwchen * @author cwchen
* @date 2023/12/16 21:19 * @date 2023/12/16 21:19
*/ */
void updateTmTaskStatus(@Param("params") RepairTestWarehousingDto dto, @Param("dictId") int dicId); void updateTmTaskStatus(@Param("params") RepairTestWarehousingDto dto, @Param("dictId") int dicId);
/**
* 插入
* @param repairTestWarehousingDto
* @return
*/
int insertRepairInputDetails(RepairInputDetails repairTestWarehousingDto); int insertRepairInputDetails(RepairInputDetails repairTestWarehousingDto);
/** /**
* 修试入库--导出
*
* @param bean * @param bean
* @return List<RepairTestInputDetailVo> * @return List<RepairTestInputDetailVo>
* @description 修试入库--导出
* @author hay * @author hay
* @date 2024/1/9 15:14 * @date 2024/1/9 15:14
*/ */

View File

@ -12,9 +12,18 @@ import java.util.List;
*/ */
@Mapper @Mapper
public interface ReturnOfMaterialsInfoMapper { public interface ReturnOfMaterialsInfoMapper {
/**
* 查询
* @param bean
* @return
*/
List<ReturnOfMaterialsInfo> getReturnOfMaterialsInfoAll(ReturnOfMaterialsInfo bean); List<ReturnOfMaterialsInfo> getReturnOfMaterialsInfoAll(ReturnOfMaterialsInfo bean);
/**
* 查询
* @param level
* @return
*/
List<ReturnOfMaterialsInfo> getTypeList(String level); List<ReturnOfMaterialsInfo> getTypeList(String level);
} }

View File

@ -13,36 +13,36 @@ import java.util.List;
*/ */
public interface RepairTestInputService { public interface RepairTestInputService {
/** /**
* 获取修试后入库列表
* @param dto * @param dto
* @return List<RepairTestInputVo> * @return List<RepairTestInputVo>
* @description 获取修试后入库列表
* @author cwchen * @author cwchen
* @date 2023/12/16 16:03 * @date 2023/12/16 16:03
*/ */
List<RepairTestInputVo> getRepairedList(RepairTestInputDto dto); List<RepairTestInputVo> getRepairedList(RepairTestInputDto dto);
/** /**
* 获取修试后入库列表-详情
* @param dto * @param dto
* @return List<RepairTestInputDetailVo> * @return List<RepairTestInputDetailVo>
* @description 获取修试后入库列表-详情
* @author cwchen * @author cwchen
* @date 2023/12/16 17:33 * @date 2023/12/16 17:33
*/ */
List<RepairTestInputDetailVo> getRepairedDetailList(RepairTestInputDto dto); List<RepairTestInputDetailVo> getRepairedDetailList(RepairTestInputDto dto);
/** /**
* 修试后入库-入库操作
* @param dto * @param dto
* @return AjaxResult * @return AjaxResult
* @description 修试后入库-入库操作
* @author cwchen * @author cwchen
* @date 2023/12/16 18:35 * @date 2023/12/16 18:35
*/ */
AjaxResult inputByType(RepairTestInputDto dto); AjaxResult inputByType(RepairTestInputDto dto);
/** /**
* 修试入库-导出
* @param bean * @param bean
* @return List<RepairTestInputDetailVo> * @return List<RepairTestInputDetailVo>
* @description 修试入库-导出
* @author hay * @author hay
* @date 2024/1/9 15:13 * @date 2024/1/9 15:13
*/ */

View File

@ -9,13 +9,24 @@ import java.util.List;
* @author lsun * @author lsun
*/ */
public interface ReturnOfMaterialsInfoService { public interface ReturnOfMaterialsInfoService {
/**
* 查询
* @param bean
* @return
*/
List<ReturnOfMaterialsInfo> getReturnOfMaterialsInfoAll(ReturnOfMaterialsInfo bean); List<ReturnOfMaterialsInfo> getReturnOfMaterialsInfoAll(ReturnOfMaterialsInfo bean);
/**
* 查询
* @param level
* @return
*/
List<ReturnOfMaterialsInfo> getTypeList(String level); List<ReturnOfMaterialsInfo> getTypeList(String level);
/** /**
* 退料入库导出 * 退料入库导出
* @param bean
* @return
*/ */
List<ReturnOfMaterialsInfo> exportList(ReturnOfMaterialsInfo bean); List<ReturnOfMaterialsInfo> exportList(ReturnOfMaterialsInfo bean);
} }