| | |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | |
| | | import org.springblade.core.excel.util.ExcelUtil; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.yw.excel.EmergencySuppliesExcel; |
| | | import org.springblade.modules.yw.excel.SuppliesExcel; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.yw.entity.EmergencySuppliesEntity; |
| | |
| | | return R.data(200, data, data); |
| | | } |
| | | |
| | | /** |
| | | * 获取应急物资信息 |
| | | * @param emergencySupplies |
| | | * @return |
| | | */ |
| | | @GetMapping("/getEmergencySuppliesList") |
| | | @ApiOperationSupport(order = 9) |
| | | @ApiOperation(value = "获取应急物资信息", notes = "传入emergencySupplies") |
| | | public R getEmergencySuppliesList(EmergencySuppliesVO emergencySupplies) { |
| | | return R.data(emergencySuppliesService.getEmergencySuppliesList(emergencySupplies)); |
| | | } |
| | | } |