|
|
@ -26,6 +26,7 @@ import com.dayu.daf.core.mp.support.Condition; |
|
|
|
import com.dayu.daf.core.mp.support.Query; |
|
|
|
import com.dayu.daf.core.mp.support.Query; |
|
|
|
import com.dayu.daf.core.tool.api.R; |
|
|
|
import com.dayu.daf.core.tool.api.R; |
|
|
|
import com.dayu.daf.core.tool.utils.Func; |
|
|
|
import com.dayu.daf.core.tool.utils.Func; |
|
|
|
|
|
|
|
import org.energy.modules.leger.entity.TechParameters; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
@ -34,6 +35,8 @@ import org.energy.modules.leger.vo.InventoryDocumentVO; |
|
|
|
import org.energy.modules.leger.service.IInventoryDocumentService; |
|
|
|
import org.energy.modules.leger.service.IInventoryDocumentService; |
|
|
|
import com.dayu.daf.core.boot.ctrl.DafController; |
|
|
|
import com.dayu.daf.core.boot.ctrl.DafController; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 文档清册一览 控制器 |
|
|
|
* 文档清册一览 控制器 |
|
|
|
* |
|
|
|
* |
|
|
@ -122,5 +125,14 @@ public class InventoryDocumentController extends DafController { |
|
|
|
return R.status(inventoryDocumentService.deleteLogic(Func.toLongList(ids))); |
|
|
|
return R.status(inventoryDocumentService.deleteLogic(Func.toLongList(ids))); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 列表 技术参数一览 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@GetMapping("/getList") |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 8) |
|
|
|
|
|
|
|
@ApiOperation(value = "列表", notes = "传入inventoryDocument") |
|
|
|
|
|
|
|
public R<List<InventoryDocument>> getList(InventoryDocument inventoryDocument) { |
|
|
|
|
|
|
|
List<InventoryDocument> list = inventoryDocumentService.list(Condition.getQueryWrapper(inventoryDocument)); |
|
|
|
|
|
|
|
return R.data(list); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|