| | |
| | | import com.ruoyi.system.model.AssetMain; |
| | | import com.ruoyi.system.query.AssetMainPageQuery; |
| | | import com.ruoyi.system.vo.asset.AssetMainPageVO; |
| | | import com.ruoyi.system.vo.asset.AssetMainVO; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 资产主表 服务类 |
| | |
| | | */ |
| | | IPage<AssetMainPageVO> getApprovedPageList(AssetMainPageQuery pageQuery); |
| | | |
| | | /** |
| | | * 生成资产编码 |
| | | * @param assetTypeId |
| | | * @param storageDate |
| | | * @return |
| | | */ |
| | | String generateAssetCode(Integer assetTypeId, LocalDate storageDate); |
| | | |
| | | /** |
| | | * 根据审批单ID保存资产信息 |
| | | * @param id |
| | | */ |
| | | void saveAssetByApprovalApplicationId(Integer id); |
| | | |
| | | /** |
| | | * 根据资产ID列表获取资产信息 |
| | | * @param assetMainIds |
| | | * @return |
| | | */ |
| | | List<AssetMainVO> getListByIds(List<Integer> assetMainIds); |
| | | } |