UniversalController.java 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. package com.steerinfo.dil.controller;
  2. import com.steerinfo.dil.mapper.UniversalMapper;
  3. import com.steerinfo.dil.service.impl.UniversalServiceImpl;
  4. import com.steerinfo.dil.util.BaseRESTfulController;
  5. import com.steerinfo.dil.util.ColumnDataUtil;
  6. import com.steerinfo.dil.util.PageListAdd;
  7. import com.steerinfo.framework.controller.RESTfulResult;
  8. import com.steerinfo.framework.service.pagehelper.PageHelper;
  9. import io.swagger.annotations.ApiImplicitParam;
  10. import io.swagger.annotations.ApiImplicitParams;
  11. import io.swagger.annotations.ApiModelProperty;
  12. import io.swagger.annotations.ApiOperation;
  13. import org.apache.ibatis.annotations.Param;
  14. import org.springframework.beans.factory.annotation.Autowired;
  15. import org.springframework.web.bind.annotation.PostMapping;
  16. import org.springframework.web.bind.annotation.RequestBody;
  17. import org.springframework.web.bind.annotation.RequestMapping;
  18. import org.springframework.web.bind.annotation.RestController;
  19. import org.springframework.web.bind.annotation.*;
  20. import java.math.BigDecimal;
  21. import java.util.HashMap;
  22. import java.util.List;
  23. import java.util.Map;
  24. /**
  25. * @ author :TXF
  26. * @ time :2021/10/19 18:06
  27. * 通用接口
  28. */
  29. @RequestMapping("${api.version}/uc")
  30. @RestController
  31. public class UniversalController extends BaseRESTfulController {
  32. @Autowired
  33. UniversalServiceImpl universalService;
  34. @Autowired
  35. UniversalMapper universalMapper;
  36. @Autowired
  37. ColumnDataUtil columnDataUtil;
  38. @ApiOperation(value="查询数据打印提货单接口")
  39. @ApiImplicitParams({
  40. @ApiImplicitParam(name = "mapValue", value = "运输订单号", required = false, dataType = "Map"),
  41. })
  42. @PostMapping("/printTHD")
  43. public RESTfulResult printTiHuoDan(@RequestBody(required=false) Map<String, Object> mapValue){
  44. Map<String, Object> tiHuoDan = universalService.printTiHuoDan((String) mapValue.get("orderNumber"));
  45. return success(tiHuoDan);
  46. }
  47. @ApiModelProperty(value = "模糊查询发货单位")
  48. @ApiImplicitParams({
  49. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  50. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  51. @ApiImplicitParam(name = "apiId", value = "247", required = false, dataType = "BigDecimal")
  52. })
  53. @PostMapping("/querySupplierByLike")
  54. public RESTfulResult querySupplierByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  55. Integer pageNum,
  56. Integer pageSize,
  57. Integer apiId,
  58. String index) {
  59. if(mapValue == null) {
  60. mapValue = new HashMap<>();
  61. }
  62. if(index != null){
  63. mapValue.put("index","%" + index + "%");
  64. }
  65. List<Map<String, Object>> list = universalMapper.querySupplierByLike(mapValue);
  66. PageHelper.startPage(pageNum, pageSize);
  67. //分页查询数据
  68. List<Map<String, Object>> columnList = universalMapper.querySupplierByLike(mapValue);
  69. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  70. return success(data);
  71. }
  72. @ApiModelProperty(value = "查询所有发货单位")
  73. @ApiImplicitParams({
  74. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  75. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  76. @ApiImplicitParam(name = "apiId", value = "247", required = false, dataType = "BigDecimal")
  77. })
  78. @PostMapping("/queryAllSupplierByLike")
  79. public RESTfulResult queryAllSupplierByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  80. Integer pageNum,
  81. Integer pageSize,
  82. Integer apiId,
  83. String index) {
  84. if(mapValue == null) {
  85. mapValue = new HashMap<>();
  86. }
  87. if(index != null){
  88. mapValue.put("index","%" + index + "%");
  89. }
  90. List<Map<String, Object>> list = universalMapper.queryAllSupplierByLike(mapValue);
  91. PageHelper.startPage(pageNum, pageSize);
  92. //分页查询数据
  93. List<Map<String, Object>> columnList = universalMapper.queryAllSupplierByLike(mapValue);
  94. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  95. return success(data);
  96. }
  97. @ApiModelProperty(value = "通过物资ID查询该物资的发货单位信息")
  98. @ApiImplicitParams({
  99. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  100. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  101. @ApiImplicitParam(name = "apiId", value = "247", required = false, dataType = "BigDecimal")
  102. })
  103. @PostMapping("/getSupplierMesByMaterialId")
  104. public RESTfulResult getSupplierMesByMaterialId(@RequestBody(required = false) Map<String,Object> mapValue,
  105. Integer pageNum,
  106. Integer pageSize,
  107. Integer apiId,
  108. String index, String materialId) {
  109. if(mapValue == null)
  110. mapValue = new HashMap<>();
  111. if(!"null".equals(materialId))
  112. mapValue.put("materialId",materialId);
  113. if(index != null){
  114. mapValue.put("index","%" + index + "%");
  115. }
  116. List<Map<String, Object>> list = universalMapper.getSupplierMesByMaterialId(mapValue);
  117. PageHelper.startPage(pageNum, pageSize);
  118. //分页查询数据
  119. List<Map<String, Object>> columnList = universalMapper.getSupplierMesByMaterialId(mapValue);
  120. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  121. return success(data);
  122. }
  123. @ApiOperation(value="查询所有运力信息")
  124. @ApiImplicitParams({
  125. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  126. @ApiImplicitParam(name = "apiId(248)", value = "动态表头", required = false, dataType = "Integer"),
  127. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  128. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  129. })
  130. @PostMapping("/getAllCapacityByCarrierLike")
  131. public RESTfulResult getAllCapacityByCarrierLike(@RequestBody(required=false) Map<String,Object> mapValue,
  132. Integer apiId,
  133. Integer pageNum,
  134. Integer pageSize,
  135. String carrierSsoId,
  136. String index
  137. ){
  138. if(mapValue == null){
  139. mapValue = new HashMap<>();
  140. }
  141. if(index != null){
  142. mapValue.put("index", index);
  143. }
  144. if (carrierSsoId != null && carrierSsoId.equals("undefined")) {
  145. carrierSsoId = null;
  146. }
  147. if (carrierSsoId != null) {
  148. BigDecimal carrierId = universalMapper.getCarrierIdBySSO(carrierSsoId);
  149. mapValue.put("carrierId",carrierId);
  150. }
  151. //不分页筛选数据
  152. List<Map<String, Object>> allCapacity = universalMapper.getAllCapacityByCarrierLike(mapValue);
  153. PageHelper.startPage(pageNum,pageSize);
  154. //分页数据
  155. List<Map<String, Object>> capacity = universalMapper.getAllCapacityByCarrierLike(mapValue);
  156. PageListAdd pageList = columnDataUtil.tableColumnData(apiId, allCapacity,capacity);
  157. return success(pageList);
  158. }
  159. @ApiOperation(value="通过订单ID查询订单下所有物资")
  160. @ApiImplicitParams({
  161. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  162. @ApiImplicitParam(name = "apiId(395)", value = "动态表头", required = false, dataType = "Integer"),
  163. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  164. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  165. })
  166. @PostMapping("/getMaterialMesByOrderId")
  167. public RESTfulResult getMaterialMesByOrderId(@RequestBody(required=false) Map<String,Object> mapValue,
  168. Integer apiId,
  169. Integer pageNum,
  170. Integer pageSize,
  171. String orderId
  172. ){
  173. if(mapValue == null){
  174. mapValue = new HashMap<>();
  175. }
  176. if(orderId != null){
  177. mapValue.put("orderId", orderId);
  178. }
  179. //不分页筛选数据
  180. List<Map<String, Object>> allCapacity = universalMapper.getMaterialMesByOrderId(mapValue);
  181. PageHelper.startPage(pageNum,pageSize);
  182. //分页数据
  183. List<Map<String, Object>> capacity = universalMapper.getMaterialMesByOrderId(mapValue);
  184. PageListAdd pageList = columnDataUtil.tableColumnData(apiId, allCapacity,capacity);
  185. return success(pageList);
  186. }
  187. @ApiModelProperty(value = "边输边查发货单位")
  188. @PostMapping("/getSupplierMesByLike")
  189. public RESTfulResult getSupplierMesByLike(@RequestParam("index") String index) {
  190. List<Map<String, Object>> list = universalMapper.getSupplierMesByLike(index == null ? "" : index);
  191. return success(list);
  192. }
  193. @ApiModelProperty(value = "边输边查收货单位")
  194. @PostMapping("/getConsigneeByLike")
  195. public RESTfulResult getConsigneeByLike(@RequestParam("index") String index) {
  196. List<Map<String, Object>> list = universalMapper.getConsigneeByLike(index == null ? "" : index);
  197. return success(list);
  198. }
  199. @ApiModelProperty(value = "通过订单ID查询订单下物资信息")
  200. @PostMapping("/getOrderMaterialMesByOrderId/{orderId}")
  201. public RESTfulResult getMaterialMesByOrderId(@PathVariable("orderId") Integer orderId){
  202. List<Map<String, Object>> mes = universalMapper.getOrderMaterialMesByOrderId(new BigDecimal(orderId));
  203. return success(mes);
  204. }
  205. @ApiModelProperty(value = "模糊查询物资")
  206. @ApiImplicitParams({
  207. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  208. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  209. @ApiImplicitParam(name = "apiId", value = "244", required = false, dataType = "BigDecimal")
  210. })
  211. @PostMapping("/queryAPOMaterialByLike")
  212. public RESTfulResult queryMaterialByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  213. Integer pageNum,
  214. Integer pageSize,
  215. Integer apiId,
  216. String index) {
  217. if(mapValue == null) {
  218. mapValue = new HashMap<>();
  219. }
  220. if(index != null){
  221. mapValue.put("index", "%" + index + "%");
  222. }
  223. List<Map<String, Object>> list = universalMapper.queryAPOMaterialByLike(mapValue);
  224. PageHelper.startPage(pageNum, pageSize);
  225. //分页查询数据
  226. List<Map<String, Object>> columnList = universalMapper.queryAPOMaterialByLike(mapValue);
  227. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  228. return success(data);
  229. }
  230. @ApiModelProperty(value = "模糊查询卸货点")
  231. @ApiImplicitParams({
  232. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  233. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  234. @ApiImplicitParam(name = "apiId", value = "374", required = false, dataType = "BigDecimal")
  235. })
  236. @PostMapping("/getUnloadingMesByLike")
  237. public RESTfulResult getUnloadingMesByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  238. Integer pageNum,
  239. Integer pageSize,
  240. Integer apiId,
  241. Integer type,
  242. String index) {
  243. if(mapValue == null) {
  244. mapValue = new HashMap<>();
  245. }
  246. if(type != null){
  247. mapValue.put("type", type);
  248. }
  249. if(index != null){
  250. mapValue.put("index", "%" + index + "%");
  251. }
  252. List<Map<String, Object>> list = universalMapper.getUnloadingMesByLike(mapValue);
  253. PageHelper.startPage(pageNum, pageSize);
  254. //分页查询数据
  255. List<Map<String, Object>> columnList = universalMapper.getUnloadingMesByLike(mapValue);
  256. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  257. return success(data);
  258. }
  259. @ApiModelProperty(value = "模糊查询物资")
  260. @ApiImplicitParams({
  261. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  262. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  263. @ApiImplicitParam(name = "apiId", value = "244", required = false, dataType = "BigDecimal")
  264. })
  265. @PostMapping("/queryMaterialByLike")
  266. public RESTfulResult queryMaterialByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  267. Integer pageNum,
  268. Integer pageSize,
  269. Integer apiId,
  270. String index,
  271. String startNum) {
  272. if(mapValue == null) {
  273. mapValue = new HashMap<>();
  274. }
  275. if(startNum != null){
  276. mapValue.put("startNum", startNum + "%");
  277. }
  278. if(index != null){
  279. mapValue.put("index", "%" + index + "%");
  280. }
  281. List<Map<String, Object>> list = universalMapper.queryMaterialByLike(mapValue);
  282. PageHelper.startPage(pageNum, pageSize);
  283. //分页查询数据
  284. List<Map<String, Object>> columnList = universalMapper.queryMaterialByLike(mapValue);
  285. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  286. return success(data);
  287. }
  288. @ApiModelProperty(value = "模糊查询批次")
  289. @ApiImplicitParams({
  290. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  291. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  292. @ApiImplicitParam(name = "apiId", value = "244", required = false, dataType = "BigDecimal")
  293. })
  294. @PostMapping("/queryBatchByLike")
  295. public RESTfulResult queryBatchByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  296. Integer pageNum,
  297. Integer pageSize,
  298. Integer apiId,
  299. String index) {
  300. if(mapValue == null) {
  301. mapValue = new HashMap<>();
  302. }
  303. if(index != null){
  304. mapValue.put("index", "%" + index + "%");
  305. }
  306. List<Map<String, Object>> list = universalMapper.getBatchAndOrderMes(mapValue);
  307. PageHelper.startPage(pageNum, pageSize);
  308. //分页查询数据
  309. List<Map<String, Object>> columnList = universalMapper.getBatchAndOrderMes(mapValue);
  310. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  311. return success(data);
  312. }
  313. @ApiModelProperty(value = "边输边查承运商")
  314. @PostMapping("/getCarrierMesByLike")
  315. public RESTfulResult getCarrierMesByLike(@RequestParam("index") String index) {
  316. List<Map<String, Object>> list = universalMapper.getCarrierMesByLike(index == null ? "" : index);
  317. return success(list);
  318. }
  319. @ApiModelProperty(value = "模糊查询收货单位")
  320. @ApiImplicitParams({
  321. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  322. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  323. @ApiImplicitParam(name = "apiId", value = "396", required = false, dataType = "BigDecimal")
  324. })
  325. @PostMapping("/queryConsigneeByLike")
  326. public RESTfulResult queryConsigneeByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  327. Integer pageNum,
  328. Integer pageSize,
  329. Integer apiId,
  330. String index) {
  331. if(mapValue == null) {
  332. mapValue = new HashMap<>();
  333. }
  334. if(index != null){
  335. mapValue.put("index","%" + index + "%");
  336. }
  337. List<Map<String, Object>> list = universalMapper.queryConsigneeByLike(mapValue);
  338. PageHelper.startPage(pageNum, pageSize);
  339. //分页查询数据
  340. List<Map<String, Object>> columnList = universalMapper.queryConsigneeByLike(mapValue);
  341. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  342. return success(data);
  343. }
  344. @ApiModelProperty(value = "模糊查询物资信息")
  345. @ApiImplicitParams({
  346. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  347. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  348. @ApiImplicitParam(name = "apiId", value = "395", required = false, dataType = "BigDecimal")
  349. })
  350. @PostMapping("/selectAllMaterialName")
  351. public RESTfulResult selectAllMaterialName(@RequestBody(required = false) Map<String,Object> mapValue,
  352. Integer pageNum,
  353. Integer pageSize,
  354. Integer apiId,
  355. String index) {
  356. if(mapValue == null) {
  357. mapValue = new HashMap<>();
  358. }
  359. if(index != null){
  360. mapValue.put("index","%" + index + "%");
  361. }
  362. List<Map<String, Object>> list = universalMapper.selectAllMaterialName(mapValue);
  363. PageHelper.startPage(pageNum, pageSize);
  364. //分页查询数据
  365. List<Map<String, Object>> columnList = universalMapper.selectAllMaterialName(mapValue);
  366. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  367. return success(data);
  368. }
  369. @ApiModelProperty(value = "返回sha1加密字符串")
  370. @RequestMapping(value = "/sha1DigestUtils", method = {RequestMethod.GET,RequestMethod.POST})
  371. public String sha1DigestUtils(String text){
  372. return universalService.sha1DigestUtils(text);
  373. }
  374. @ApiModelProperty(value = "查装货卸货点")
  375. @PostMapping("/selectUnloadingPoint")
  376. public List<Map<String, Object>> selectUnloadingPoint() {
  377. return universalMapper.selectUnloadingPoint();
  378. }
  379. @ApiModelProperty(value = "模糊查询承运商")
  380. @ApiImplicitParams({
  381. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  382. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  383. @ApiImplicitParam(name = "apiId", value = "412", required = false, dataType = "BigDecimal")
  384. })
  385. @PostMapping("/getCarrierListByLike")
  386. public RESTfulResult getCarrierListByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  387. Integer apiId,
  388. Integer pageNum,
  389. Integer pageSize,
  390. String index) {
  391. if(index != null){
  392. if(index.length() == 0){
  393. index = null;
  394. }else {
  395. index = "%" + index + "%";
  396. }
  397. }
  398. if (mapValue == null) {
  399. mapValue = new HashMap<>();
  400. }
  401. mapValue.put("index",index);
  402. List<Map<String, Object>> list = universalMapper.getCarrierListByLike(mapValue);
  403. PageHelper.startPage(pageNum, pageSize);
  404. //分页查询数据
  405. List<Map<String, Object>> columnList = universalMapper.getCarrierListByLike(mapValue);
  406. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  407. return success(data);
  408. }
  409. @ApiModelProperty(value = "所有门岗下拉框")
  410. @GetMapping("/getAllGatepost")
  411. public List<Map<String,Object>> getAllGatepost(){
  412. return universalMapper.getAllGatepost();
  413. }
  414. //通过承运商id获取userId
  415. @PostMapping("/getUserIdByCarrierId")
  416. public String getUserIdByCarrierId(@RequestBody Map<String,Object> map){
  417. //获取承运商id
  418. Integer carrierId =(Integer) map.get("carrierId");
  419. return universalMapper.getUserIdbyCarrierId(carrierId);
  420. }
  421. @ApiModelProperty(value = "已经在sso权限模块承运商下拉框")
  422. @GetMapping("/getAllCarrierIdForSso")
  423. public List<Map<String,Object>> getAllCarrierIdForSso(){
  424. return universalMapper.getAllCarrierIdForSso();
  425. }
  426. @ApiModelProperty(value = "模糊查询收货单位")
  427. @ApiImplicitParams({
  428. @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
  429. @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
  430. @ApiImplicitParam(name = "apiId", value = "418", required = false, dataType = "BigDecimal")
  431. })
  432. @PostMapping("/getConsigneeListByLike")
  433. public RESTfulResult getConsigneeListByLike(@RequestBody(required = false) Map<String,Object> mapValue,
  434. Integer apiId,
  435. Integer pageNum,
  436. Integer pageSize,
  437. String index) {
  438. if(index != null){
  439. if(index.length() == 0){
  440. index = null;
  441. }else {
  442. index = "%" + index + "%";
  443. }
  444. }
  445. if (mapValue == null) {
  446. mapValue = new HashMap<>();
  447. }
  448. mapValue.put("index",index);
  449. List<Map<String, Object>> list = universalMapper.getConsigneeListByLike(mapValue);
  450. PageHelper.startPage(pageNum, pageSize);
  451. //分页查询数据
  452. List<Map<String, Object>> columnList = universalMapper.getConsigneeListByLike(mapValue);
  453. PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
  454. return success(data);
  455. }
  456. @ApiOperation("通过运输订单id查询销售订单审核状态")
  457. @PostMapping("/getSaleOrderStatus")
  458. public Integer getSaleOrderStatus(@RequestParam Integer orderId) {
  459. Integer saleStatus = universalMapper.getSaleOrderStatus(new BigDecimal(orderId));
  460. return saleStatus;
  461. }
  462. @ApiOperation("查询所有的汽车衡")
  463. @GetMapping("/getAllCalculateMes")
  464. public List<Map<String, Object>> getAllCalculateMes() {
  465. return universalMapper.getAllCalculateMes();
  466. }
  467. @ApiOperation("查询所有的焦炭子类")
  468. @GetMapping("/getAllMaterialCoke")
  469. public List<Map<String, Object>> getAllMaterialCoke() {
  470. return universalMapper.getAllMaterialCoke();
  471. }
  472. }