| | |
| | | import com.by4cloud.platformx.common.log.annotation.SysLog; |
| | | import com.by4cloud.platformx.device.dto.DeviceTechnicalAgreemntQueryDTO; |
| | | import com.by4cloud.platformx.device.entity.DeviceTechnicalAgreemnt; |
| | | import com.by4cloud.platformx.device.entity.PurchaseWinningLetterEntity; |
| | | import com.by4cloud.platformx.device.service.DeviceTechnicalAgreementService; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import com.by4cloud.platformx.common.excel.annotation.ResponseExcel; |
| | |
| | | public List<DeviceTechnicalAgreemnt> export(DeviceTechnicalAgreemnt deviceTechnicalAgreement,Long[] ids) { |
| | | return deviceTechnicalAgreementService.list(Wrappers.lambdaQuery(deviceTechnicalAgreement).in(ArrayUtil.isNotEmpty(ids), DeviceTechnicalAgreemnt::getId, ids)); |
| | | } |
| | | |
| | | /** |
| | | * 获取下拉列表 |
| | | * @return |
| | | */ |
| | | @GetMapping("/getDropdownnList/{deviceId}") |
| | | public R<List<DeviceTechnicalAgreemnt>> getDropdownnList(@PathVariable("deviceId")Long deviceId) { |
| | | return R.ok(deviceTechnicalAgreementService.getDropdownnList(deviceId)); |
| | | } |
| | | } |