荣鑫后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1960 lines
46 KiB

4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. package com.gaotao.modules.base.dao;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.gaotao.modules.base.entity.*;
  5. import com.gaotao.modules.purchaseorder.entity.PRDetail;
  6. import com.gaotao.modules.shopOrder.entity.ShopOrderData;
  7. import org.apache.ibatis.annotations.Mapper;
  8. import org.apache.ibatis.annotations.Param;
  9. import org.springframework.stereotype.Repository;
  10. import org.springframework.web.bind.annotation.RequestBody;
  11. import java.util.List;
  12. /**
  13. * @author rq
  14. * @ClassName: BaseMapper
  15. * @Description: 工艺的dao
  16. * @date 2021年9月25日
  17. */
  18. @Mapper
  19. @Repository
  20. public interface BaseMapper {
  21. /**
  22. * 查询工厂日历
  23. *
  24. * @return
  25. * @author rq
  26. */
  27. List<CalendarData> getCalendarData(CalendarData indata);
  28. /**
  29. * 查询工作日类型
  30. *
  31. * @return
  32. * @author rq
  33. */
  34. List<CalendarDatetypeOutData> findBySite(@Param("site") String site);
  35. /**
  36. * 编辑工厂日历
  37. *
  38. * @param inData
  39. * @author rq
  40. */
  41. int editCalendar(CalendarData inData);
  42. /**
  43. * 查找工厂编号
  44. *
  45. * @return
  46. * @author rq
  47. */
  48. CalendarData findByCalendarId(@Param("site") String site, @Param("calendarId") String CalendarId);
  49. /**
  50. * 保存新增日历
  51. *
  52. * @return
  53. * @author rq
  54. */
  55. void save(CalendarData indata);
  56. /**
  57. * 删除工厂日历
  58. *
  59. * @param id
  60. * @author rq
  61. */
  62. void delCalendar(@Param("calendarId") String calendarId,@Param("site") String site);
  63. /**
  64. * 获取工作日类型
  65. *
  66. * @param
  67. * @author rq
  68. */
  69. CalendarDatetypeOutData findByDatetypeAndSite(@Param("dataType") String dataType, @Param("site") String site);
  70. /**
  71. * 查询已经维护的日历信息
  72. *
  73. * @param site
  74. * @param calendarId
  75. * @param scheduledate
  76. * @return
  77. */
  78. List<CalendarExceptionData> getCalendarEByCIdAndSDate(@Param("site") String site, @Param("calendarId") String calendarId, @Param("scheduledate") String scheduledate);
  79. /**
  80. * 根据日历编码获取日历信息
  81. *
  82. * @return
  83. */
  84. List<CalendarExceptionData> findBySiteAndCalendarId(CalendarData inData);
  85. /**
  86. * 编辑班次
  87. *
  88. * @param inData
  89. * @return
  90. */
  91. int editShift(CalendarDatetypeShiftData inData);
  92. /**
  93. * 根据编码查询班次
  94. *
  95. * @param id
  96. * @return
  97. */
  98. CalendarDatetypeShiftOutData findShiftById(@Param("id") int id);
  99. /**
  100. * 根据班次编码查询班次
  101. *
  102. * @param
  103. * @return
  104. */
  105. CalendarDatetypeShiftOutData findByShiftno(CalendarDatetypeShiftData inData);
  106. /**
  107. * 保存班次
  108. *
  109. * @param
  110. * @return
  111. */
  112. void saveCDS(CalendarDatetypeShiftData inData);
  113. /**
  114. * 查询班次信息
  115. *
  116. * @return
  117. * @author rq
  118. */
  119. List<CalendarDatetypeShiftOutData> findBySiteAndDatetype(CalendarDatetypeData indata);
  120. /**
  121. * 查询其他班次信息
  122. *
  123. * @return
  124. * @author rq
  125. */
  126. List<CalendarDatetypeShiftOutData> findBySiteAndDatetype2(CalendarDatetypeShiftData inData);
  127. /**
  128. * 根据工作类型查询数据
  129. *
  130. * @param datetype
  131. * @return
  132. */
  133. CalendarDatetypeData findCDDByDatetypeAndSite(@Param("datetype") String datetype, @Param("site") String site);
  134. /**
  135. * 根据ID查询数据
  136. *
  137. * @param id
  138. * @return
  139. */
  140. CalendarDatetypeData findCDDById(@Param("id") int id);
  141. /**
  142. * 保存工作日数据
  143. *
  144. * @param
  145. * @return
  146. */
  147. void saveCDD(CalendarDatetypeData indata);
  148. /**
  149. * 删除工作类型
  150. *
  151. * @param id
  152. * @return
  153. */
  154. void deleteById(CalendarDatetypeData indata);
  155. /**
  156. * 查询已经维护的日历班次信息
  157. *
  158. * @param site
  159. * @param calendarId
  160. * @param scheduledate
  161. * @return
  162. */
  163. List<CalendarExceptionShiftData> getCalendarESByCIdAndSDate(@Param("site") String site, @Param("calendarId") String calendarId, @Param("scheduledate") String scheduledate);
  164. /**
  165. * 删除已经维护的日历班次安排
  166. *
  167. * @param id
  168. * @return
  169. */
  170. void deleteCESById(CalendarExceptionShiftData calendarExceptionShiftData);
  171. /**
  172. * 保存日历班次信息
  173. *
  174. * @param
  175. * @return
  176. */
  177. void saveCED(CalendarExceptionData cesd);
  178. /**
  179. * 保存日历班次安排
  180. *
  181. * @param
  182. * @return
  183. */
  184. void saveCESD(CalendarExceptionShiftData cesd);
  185. /**
  186. * 删除日历班次安排
  187. *
  188. * @param
  189. * @return
  190. */
  191. void deleteCEDById(CalendarExceptionData calendarExceptionData);
  192. /**
  193. * 编辑工作日数据
  194. *
  195. * @param
  196. * @return
  197. */
  198. void updateCDD(CalendarDatetypeData indata);
  199. /**
  200. * @param site
  201. * @return {@link List< CalendarDatetypeShiftData>}
  202. * @Description 获取下拉框排班
  203. * @Title getAllShiftData
  204. * @author rq
  205. * @date 2021/3/16 17:36
  206. * @throw
  207. */
  208. List<CalendarDatetypeShiftData> getAllShiftData(@Param("site") String site);
  209. /**
  210. * @return {@link List< CalendarExceptionData>}
  211. * @Title findDataType
  212. * @Description 查找工作日类型是否被引用
  213. * @author rq
  214. * @date 2021/4/13 13:31
  215. */
  216. List<CalendarExceptionData> findDateType(CalendarDatetypeData indata);
  217. /**
  218. * @return
  219. * @Title delShift
  220. * @Description 删除班次
  221. * @author rq
  222. * @date 2021/4/16 11:57
  223. */
  224. void deleteShift(@RequestBody CalendarDatetypeShiftData inData);
  225. /**
  226. * @return {@link String}
  227. * @Title getShiftNo
  228. * @Description 获取班次最后几位
  229. * @author rq
  230. * @date 2021/4/16 14:56
  231. */
  232. int getShiftNo();
  233. /**
  234. * @return {@link String}
  235. * @Title getSiteAccessFlag
  236. * @Description 日历校验
  237. * @author rq
  238. * @date 2021/5/21 11:14
  239. */
  240. String getSiteAccessFlag(@Param("userId") String userId, @Param("site") String site);
  241. /**
  242. * @param
  243. * @return List<SiteData>
  244. * @Description 获得工厂信息
  245. * @Title getSiteData
  246. * @author rq
  247. * @date 2021/10/9 14:27
  248. * @throw
  249. */
  250. List<SiteData> getSiteData(SiteData inData);
  251. /**
  252. * @param
  253. * @return List<CompanyData>
  254. * @Description 获取会计企业
  255. * @Title getCompanyData
  256. * @author rq
  257. * @date 2021/10/9 16:37
  258. * @throw
  259. */
  260. List<CompanyData> getCompanyData();
  261. /**
  262. * @param
  263. * @return List<CompanyData>
  264. * @Description 检查工厂编码
  265. * @Title checkSiteId
  266. * @author rq
  267. * @date 2021/10/10 16:49
  268. * @throw
  269. */
  270. List<SiteData> checkSiteId(String siteID);
  271. /**
  272. * @param site
  273. * @param calendarID
  274. * @return List<CalendarData>
  275. * @Description 检查编码是否存在
  276. * @Title checkCal
  277. * @author rq
  278. * @date 2022/1/12 16:20
  279. * @throw
  280. */
  281. List<CalendarData> checkCal(@Param("site") String site, @Param("calendarID") String calendarID);
  282. /**
  283. * @param indata
  284. * @return List<WorkCenterResourceData>
  285. * @Description 检查机台是否存在
  286. * @Title checkResource
  287. * @author rq
  288. * @date 2022/1/12 16:24
  289. * @throw
  290. */
  291. List<WorkCenterResourceData> checkResource(WorkCenterResourceData indata);
  292. void saveResource(WorkCenterResourceData inData);
  293. void editResource(WorkCenterResourceData inData);
  294. /**
  295. * @param inData
  296. * @return void
  297. * @Description 保存工厂
  298. * @Title saveSite
  299. * @author rq
  300. * @date 2021/10/10 16:52
  301. * @throw
  302. */
  303. void saveSite(SiteData inData);
  304. /**
  305. * @param inData
  306. * @return void
  307. * @Description 修改工厂
  308. * @Title editSite
  309. * @author rq
  310. * @date 2021/10/10 16:52
  311. * @throw
  312. */
  313. void editSite(SiteData inData);
  314. //----------物料分类--------------------------
  315. /**
  316. * @param indata
  317. * @return List<PartFamilyData>
  318. * @Description 获取物料分类
  319. * @Title getPartFamily
  320. * @author rq
  321. * @date 2021/10/10 22:05
  322. * @throw
  323. */
  324. List<PartFamilyData> getPartFamily(PartFamilyData indata);
  325. /**
  326. * @return List<PartFamilyData>
  327. * @Description 检查角色工厂权限
  328. * @Title checkAccessSite
  329. * @author rq
  330. * @date 2021/10/10 22:05
  331. * @throw
  332. */
  333. List<AccessSiteData> checkAccessSite(@Param("site") String site, @Param("userID") String userID);
  334. /**
  335. * @param indata
  336. * @return List<PartFamilyData>
  337. * @Description 检查分类id
  338. * @Title getPartFamily
  339. * @author rq
  340. * @date 2021/10/10 22:05
  341. * @throw
  342. */
  343. List<PartFamilyData> checkFamilyID(PartFamilyData indata);
  344. /**
  345. * @param
  346. * @return List<CompanyData>
  347. * @Description 保存物料分类
  348. * @Title savePartFamily
  349. * @author rq
  350. * @date 2021/10/9 16:37
  351. * @throw
  352. */
  353. void savePartFamily(PartFamilyData indata);
  354. /**
  355. * @param inData
  356. * @return void
  357. * @Description 修改物料分类
  358. * @Title editPartFamily
  359. * @author rq
  360. * @date 2021/10/10 16:52
  361. * @throw
  362. */
  363. void editPartFamily(PartFamilyData inData);
  364. /**
  365. * @param inData
  366. * @return void
  367. * @Description 删除物料分类
  368. * @Title deletePartFamily
  369. * @author rq
  370. * @date 2021/10/10 23:39
  371. * @throw
  372. */
  373. void deletePartFamily(PartFamilyData inData);
  374. //----------计量单位--------------------------
  375. /**
  376. * @param indata
  377. * @return List<PartFamilyData>
  378. * @Description 获取物料分类
  379. * @Title getPartFamily
  380. * @author rq
  381. * @date 2021/10/10 22:05
  382. * @throw
  383. */
  384. List<UmData> getUMData(UmData indata);
  385. /**
  386. * @param indata
  387. * @return List<PartFamilyData>
  388. * @Description 检查分类id
  389. * @Title getPartFamily
  390. * @author rq
  391. * @date 2021/10/10 22:05
  392. * @throw
  393. */
  394. List<UmData> checkUmID(UmData indata);
  395. /**
  396. * @param
  397. * @return List<CompanyData>
  398. * @Description 保存物料分类
  399. * @Title savePartFamily
  400. * @author rq
  401. * @date 2021/10/9 16:37
  402. * @throw
  403. */
  404. void saveUMData(UmData indata);
  405. /**
  406. * @param inData
  407. * @return void
  408. * @Description 修改物料分类
  409. * @Title editPartFamily
  410. * @author rq
  411. * @date 2021/10/10 16:52
  412. * @throw
  413. */
  414. void editUMData(UmData inData);
  415. List<PartData> checkUmIDInPart(@Param("site") String site, @Param("umid") String umid);
  416. /**
  417. * @param inData
  418. * @return void
  419. * @Description 删除物料分类
  420. * @Title deletePartFamily
  421. * @author rq
  422. * @date 2021/10/10 23:39
  423. * @throw
  424. */
  425. void deleteUMData(UmData inData);
  426. //=============查询-物料编码===================
  427. /**
  428. * @param
  429. * @return List<PartData>>
  430. * @Description 查询-物料编码
  431. * @Title searchPartNoData
  432. * @author rq
  433. * @date 2021/10/9 16:37
  434. * @throw
  435. */
  436. List<PartData> searchPartNoData(PartData indata);
  437. /**
  438. * @param
  439. * @return List<PartData>>
  440. * @Description 查询-物料编码
  441. * @Title searchPartNoData
  442. * @author rq
  443. * @date 2021/10/9 16:37
  444. * @throw
  445. */
  446. IPage<PartData> searchPartNoDataWithPage(Page<PartData> page, @Param("query") PartData inData);
  447. //----------停机原因--------------------------
  448. /**
  449. * @param indata
  450. * @return List<DowntimeReasonData>
  451. * @Description 获取停机原因
  452. * @Title getShutDownReasonData
  453. * @author rq
  454. * @date 2021/10/10 22:05
  455. * @throw
  456. */
  457. List<DowntimeReasonData> getShutDownReasonData(DowntimeReasonData indata);
  458. /**
  459. * @param indata
  460. * @return List<DowntimeReasonData>
  461. * @Description 检查停机原因id
  462. * @Title checkRasonCode
  463. * @author rq
  464. * @date 2021/10/10 22:05
  465. * @throw
  466. */
  467. List<DowntimeReasonData> checkRasonCode(DowntimeReasonData indata);
  468. /**
  469. * @param
  470. * @Description 保存停机原因
  471. * @Title saveShutDownReasonData
  472. * @author rq
  473. * @date 2021/10/9 16:37
  474. * @throw
  475. */
  476. void saveShutDownReasonData(DowntimeReasonData indata);
  477. /**
  478. * @param inData
  479. * @return void
  480. * @Description 修改停机原因
  481. * @Title editShutDownReasonData
  482. * @author rq
  483. * @date 2021/10/10 16:52
  484. * @throw
  485. */
  486. void editShutDownReasonData(DowntimeReasonData inData);
  487. /**
  488. * @param inData
  489. * @return void
  490. * @Description 删除停机原因
  491. * @Title deleteShutDownReasonData
  492. * @author rq
  493. * @date 2021/10/10 23:39
  494. * @throw
  495. */
  496. void deleteShutDownReasonData(DowntimeReasonData inData);
  497. //----------物料参照信息--------------------------
  498. /**
  499. * @param indata
  500. * @return List<DowntimeReasonData>
  501. * @Description 获取物料参照信息
  502. * @Title getReferencePartInfoData
  503. * @author rq
  504. * @date 2021/10/10 22:05
  505. * @throw
  506. */
  507. List<ReferencePartInfoData> getReferencePartInfoData(ReferencePartInfoData indata);
  508. /**
  509. * @param indata
  510. * @return List<DowntimeReasonData>
  511. * @Description 检查物料参照信息
  512. * @Title checkRasonCode
  513. * @author rq
  514. * @date 2021/10/10 22:05
  515. * @throw
  516. */
  517. List<ReferencePartInfoData> checkReferencePartInfo(ReferencePartInfoData indata);
  518. /**
  519. * @param
  520. * @Description 保存物料参照信息
  521. * @Title saveReferencePartInfoData
  522. * @author rq
  523. * @date 2021/10/9 16:37
  524. * @throw
  525. */
  526. void saveReferencePartInfoData(ReferencePartInfoData indata);
  527. /**
  528. * @param inData
  529. * @return void
  530. * @Description 修改物料参照信息
  531. * @Title editReferencePartInfoData
  532. * @author rq
  533. * @date 2021/10/10 16:52
  534. * @throw
  535. */
  536. void editReferencePartInfoData(ReferencePartInfoData inData);
  537. /**
  538. * @param inData
  539. * @return void
  540. * @Description 删除物料参照信息
  541. * @Title deleteReferencePartInfoData
  542. * @author rq
  543. * @date 2021/10/10 23:39
  544. * @throw
  545. */
  546. void deleteReferencePartInfoData(ReferencePartInfoData inData);
  547. /**
  548. * @param indata
  549. * @return List<PartData>
  550. * @Description 获取物料信息
  551. * @Title getPartNoDetail
  552. * @author rq
  553. * @date 2021/10/10 22:05
  554. * @throw
  555. */
  556. List<PartData> getPartNoDetail(PartData indata);
  557. /**
  558. * @param indata
  559. * @return List<PartData>
  560. * @Description 获取供应商信息
  561. * @Title getPartNoDetail
  562. * @author rq
  563. * @date 2021/10/10 22:05
  564. * @throw
  565. */
  566. List<SupplierData> getSupplierDetail(SupplierData indata);
  567. //----------生产线--------------------------
  568. /**
  569. * @param indata
  570. * @return List<ProductionLineData>
  571. * @Description 获取生产线
  572. * @Title getProductionLineData
  573. * @author rq
  574. * @date 2021/10/10 22:05
  575. * @throw
  576. */
  577. List<ProductionLineData> getProductionLineData(ProductionLineData indata);
  578. /**
  579. * @param indata
  580. * @return List<ProductionLineData>
  581. * @Description 检查生产线id
  582. * @Title checkProLineNo
  583. * @author rq
  584. * @date 2021/10/10 22:05
  585. * @throw
  586. */
  587. List<ProductionLineData> checkProLineNo(ProductionLineData indata);
  588. /**
  589. * @param
  590. * @Description 保存生产线
  591. * @Title saveProductionLineData
  592. * @author rq
  593. * @date 2021/10/9 16:37
  594. * @throw
  595. */
  596. void saveProductionLineData(ProductionLineData indata);
  597. /**
  598. * @param inData
  599. * @return void
  600. * @Description 修改生产线
  601. * @Title editProductionLineData
  602. * @author rq
  603. * @date 2021/10/10 16:52
  604. * @throw
  605. */
  606. void editProductionLineData(ProductionLineData inData);
  607. /**
  608. * @param inData
  609. * @return void
  610. * @Description 删除生产线
  611. * @Title deleteProductionLineData
  612. * @author rq
  613. * @date 2021/10/10 23:39
  614. * @throw
  615. */
  616. void deleteProductionLineData(ProductionLineData inData);
  617. List<PartData> checkConfigurationTemplateID(PartData inData);
  618. //----------加工中心--------------------------
  619. /**
  620. * @param indata
  621. * @return List<WorkCenterData>
  622. * @Description 获取加工中心
  623. * @Title getWorkCenterData
  624. * @author rq
  625. * @date 2021/10/10 22:05
  626. * @throw
  627. */
  628. List<WorkCenterData> getWorkCenterData(WorkCenterData indata);
  629. /**
  630. * @param indata
  631. * @return List<getWorkCenterResourceData>
  632. * @Description 获取机台信息
  633. * @Title getWorkCenterResourceData
  634. * @author rq
  635. * @date 2021/10/10 22:05
  636. * @throw
  637. */
  638. List<WorkCenterResourceData> getWorkCenterResourceData(WorkCenterData indata);
  639. /**
  640. * @param indata
  641. * @return List<ProductInWorkCenterData>
  642. * @Description 获取涉及产品信息
  643. * @Title getProductInWorkCenterData
  644. * @author rq
  645. * @date 2021/10/10 22:05
  646. * @throw
  647. */
  648. List<ProductInWorkCenterData> getProductInWorkCenterData(WorkCenterData indata);
  649. /**
  650. * @param indata
  651. * @return List<ProductionLineData>
  652. * @Description 生产线数据
  653. * @Title getProLineNoDetail
  654. * @author rq
  655. * @date 2021/10/10 22:05
  656. * @throw
  657. */
  658. List<ProductionLineData> getProLineNoDetail(ProductionLineData indata);
  659. /**
  660. * @param indata
  661. * @return List<ProductionLineData>
  662. * @Description 检查加工中心
  663. * @Title checkProLineNo
  664. * @author rq
  665. * @date 2021/10/10 22:05
  666. * @throw
  667. */
  668. List<WorkCenterData> checkWorkCenter(WorkCenterData indata);
  669. /**
  670. * @param
  671. * @Description 保存加工中心
  672. * @Title saveProductionLineData
  673. * @author rq
  674. * @date 2021/10/9 16:37
  675. * @throw
  676. */
  677. void saveWorkCenterData(WorkCenterData indata);
  678. /**
  679. * @param inData
  680. * @return void
  681. * @Description 修改加工中心
  682. * @Title editProductionLineData
  683. * @author rq
  684. * @date 2021/10/10 16:52
  685. * @throw
  686. */
  687. void editWorkCenterData(WorkCenterData inData);
  688. /**
  689. * @param inData
  690. * @return void
  691. * @Description 删除加工中心
  692. * @Title deleteProductionLineData
  693. * @author rq
  694. * @date 2021/10/10 23:39
  695. * @throw
  696. */
  697. void deleteWorkCenterData(WorkCenterData inData);
  698. /**
  699. * @param inData
  700. * @return void
  701. * @Description 设为虚拟机台
  702. * @Title setResourceFlag
  703. * @author rq
  704. * @date 2022/1/13 10:09
  705. * @throw
  706. */
  707. void setResourceFlag(WorkCenterResourceData inData);
  708. /**
  709. * @param inData
  710. * @return void
  711. * @Description 删除机台
  712. * @Title deleteResource
  713. * @author rq
  714. * @date 2022/1/12 18:03
  715. * @throw
  716. */
  717. void deleteResource(WorkCenterResourceData inData);
  718. /**
  719. * @param
  720. * @return List<PartData>
  721. * @Description 校验客户编号是否存在
  722. * @Title checkCustomerID
  723. * @author rq
  724. * @date 2021/10/9 16:37
  725. * @throw
  726. */
  727. List<PartData> checkCustomerID(PartData inData);
  728. /**
  729. * @param indata
  730. * @return List<CompanyData>
  731. * @Description 查询会计单位信息
  732. * @Title getCompanyInformation
  733. * @author rq
  734. * @date 2021/10/10 22:05
  735. * @throw
  736. */
  737. List<CompanyData> getCompanyInformation(CompanyData indata);
  738. /**
  739. * @param indata
  740. * @return List<CompanyData>
  741. * @Description 查询会计单位信息
  742. * @Title getCompanyInformation
  743. * @author rq
  744. * @date 2021/10/10 22:05
  745. * @throw
  746. */
  747. List<CompanyData> checkCompanyInformation(CompanyData indata);
  748. /**
  749. * @param
  750. * @Description 保存加工中心
  751. * @Title saveProductionLineData
  752. * @author rq
  753. * @date 2021/10/9 16:37
  754. * @throw
  755. */
  756. void saveCompanyInformation(CompanyData indata);
  757. /**
  758. * @param inData
  759. * @return void
  760. * @Description 修改加工中心
  761. * @Title editProductionLineData
  762. * @author rq
  763. * @date 2021/10/10 16:52
  764. * @throw
  765. */
  766. void editCompanyInformation(CompanyData inData);
  767. /**
  768. * @param inData
  769. * @return void
  770. * @Description 删除加工中心
  771. * @Title deleteProductionLineData
  772. * @author rq
  773. * @date 2021/10/10 23:39
  774. * @throw
  775. */
  776. void deleteCompanyInformation(CompanyData inData);
  777. /**
  778. * @param inData
  779. * @return List<SiteData>
  780. * @Description TODO
  781. * @Title checkCompanyInSite
  782. * @author rq
  783. * @date 2022/1/10 17:10
  784. * @throw
  785. */
  786. List<SiteData> checkCompanyInSite(CompanyData inData);
  787. /**
  788. * @throws
  789. * @Method getPartFamilyList
  790. * @Description: 根据条件 获取数据
  791. * @author zuowenwen
  792. * @Version 1.0
  793. * @date 2021/12/14 9:53
  794. */
  795. List<PartFamilyData> getPartFamilyList(PartFamilyData partFamilyData);
  796. //=============维护工艺路线信息===================
  797. /**
  798. * @param indata
  799. * @return List<RoutingHeaderData>
  800. * @Description 维护工艺路线信息查询
  801. * @Title searchRoutingWithPartNo
  802. * @author rq
  803. * @date 2022/1/14 13:49
  804. * @throw
  805. */
  806. List<RoutingHeaderData> searchRoutingWithPartNo(RoutingHeaderData indata);
  807. /**
  808. * @param indata
  809. * @return List<RoutingDetailData>
  810. * @Description 查询工艺路线明细
  811. * @Title searchRoutingDetailData
  812. * @author rq
  813. * @date 2022/1/14 17:20
  814. * @throw
  815. */
  816. List<RoutingDetailData> searchRoutingDetailData(RoutingDetailData indata);
  817. /**
  818. * @param
  819. * @return List<CompanyData>
  820. * @Description 检查工序号
  821. * @Title checkRoutingDetailData
  822. * @author rq
  823. * @date 2021/10/10 16:49
  824. * @throw
  825. */
  826. List<RoutingDetailData> checkRoutingItemNo(RoutingDetailData inData);
  827. /**
  828. * @param inData
  829. * @return void
  830. * @Description 保存工艺路线
  831. * @Title saveRoutingDetailData
  832. * @author rq
  833. * @date 2022/1/15 17:01
  834. * @throw
  835. */
  836. void saveRoutingDetailData(RoutingDetailData inData);
  837. /**
  838. * @param inData
  839. * @return void
  840. * @Description 保存工艺路线
  841. * @Title saveRoutingDetailData
  842. * @author rq
  843. * @date 2022/1/15 17:01
  844. * @throw
  845. */
  846. void editRoutingDetailData(RoutingDetailData inData);
  847. /**
  848. * @param
  849. * @return
  850. * @Description 删除工艺路线信息
  851. * @Title deleteCompanyInformation
  852. * @author rq
  853. * @date 2021/10/9 16:37
  854. * @throw
  855. */
  856. void deleteRoutingDetail(RoutingDetailData inData);
  857. /**
  858. * @param indata
  859. * @return List<RoutingToolData>
  860. * @Description 查询工艺路线工具
  861. * @Title searchRoutingToolData
  862. * @author rq
  863. * @date 2022/1/17 11:29
  864. * @throw
  865. */
  866. List<RoutingToolData> searchRoutingToolData(RoutingToolData indata);
  867. /**
  868. * @param indata
  869. * @return List<WorkCenterResourceData>
  870. * @Description 工艺路线可用机台
  871. * @Title searchAllResource
  872. * @author rq
  873. * @date 2022/1/17 15:32
  874. * @throw
  875. */
  876. List<WorkCenterResourceData> searchAllResource(WorkCenterResourceData indata);
  877. /**
  878. * @param indata
  879. * @return List<WorkCenterResourceData>
  880. * @Description 工艺路线已选机台
  881. * @Title searchAllResource
  882. * @author rq
  883. * @date 2022/1/17 15:32
  884. * @throw
  885. */
  886. List<WorkCenterResourceData> searchUsedResource(WorkCenterResourceData indata);
  887. /**
  888. * @param indata
  889. * @return List<WorkCenterResourceData>
  890. * @Description
  891. * @Title checkRoutingResource
  892. * @author rq
  893. * @date 2022/1/17 15:32
  894. * @throw
  895. */
  896. List<RoutingDetailAvailableResourceData> checkRoutingResource(RoutingDetailAvailableResourceData indata);
  897. /**
  898. * @param indata
  899. * @return void
  900. * @Description TODO
  901. * @Title addRoutingResource
  902. * @author rq
  903. * @date 2022/1/17 16:54
  904. * @throw
  905. */
  906. void addRoutingResource(RoutingDetailAvailableResourceData indata);
  907. /**
  908. * @param indata
  909. * @return void
  910. * @Description 删除机台
  911. * @Title deleteRoutingResource
  912. * @author rq
  913. * @date 2022/1/17 16:54
  914. * @throw
  915. */
  916. void deleteRoutingResource(RoutingDetailAvailableResourceData indata);
  917. /**
  918. * @param inData
  919. * @return List<RoutingDetailData>
  920. * @Description 工序下拉框
  921. * @Title getItemSelect
  922. * @author rq
  923. * @date 2022/1/18 14:39
  924. * @throw
  925. */
  926. List<RoutingDetailData> getItemSelect(RoutingDetailData inData);
  927. /**
  928. * @param inData
  929. * @return List<ToolHeaderData>
  930. * @Description 工具详情
  931. * @Title getToolDesc
  932. * @author rq
  933. * @date 2022/1/18 15:19
  934. * @throw
  935. */
  936. List<ToolHeaderData> getToolDesc(ToolHeaderData inData);
  937. /**
  938. * @param
  939. * @return List<ToolHeaderData>
  940. * @Description 检查工具
  941. * @Title checkToolHeader
  942. * @author rq
  943. * @date 2022/1/18 17:21
  944. * @throw
  945. */
  946. List<ToolHeaderData> checkToolHeader(@Param("site") String site, @Param("toolID") String toolID);
  947. /**
  948. * @param
  949. * @return void
  950. * @Description 保存工具
  951. * @Title saveRoutingToolData
  952. * @author rq
  953. * @date 2022/1/18 17:34
  954. * @throw
  955. */
  956. void saveRoutingToolData(RoutingToolData inData);
  957. /**
  958. * @param
  959. * @return void
  960. * @Description 编辑工具
  961. * @Title editRoutingToolData
  962. * @author rq
  963. * @date 2022/1/18 17:34
  964. * @throw
  965. */
  966. void editRoutingToolData(RoutingToolData inData);
  967. /**
  968. * @param inData
  969. * @return void
  970. * @Description 删除工具
  971. * @Title deleteRoutingTool
  972. * @author rq
  973. * @date 2022/1/18 17:59
  974. * @throw
  975. */
  976. void deleteRoutingTool(RoutingToolData inData);
  977. /**
  978. * @param inData
  979. * @return
  980. * @Description 切换工艺路线状态
  981. * @Title changeRoutingStatus
  982. * @author rq
  983. * @date 2022/1/19 14:55
  984. * @throw
  985. */
  986. void changeRoutingStatus(RoutingHeaderData inData);
  987. /**
  988. * @param inData
  989. * @return RoutingHeaderData
  990. * @Description 检查是否可以同步工艺路线
  991. * @Title checkRoutingStatus
  992. * @author rq
  993. * @date 2022/1/19 16:46
  994. * @throw
  995. */
  996. RoutingHeaderData checkRoutingStatus(RoutingHeaderData inData);
  997. /**
  998. * @param inData
  999. * @return int
  1000. * @Description TODO
  1001. * @Title ShopOrderRoutingNumber
  1002. * @author rq
  1003. * @date 2022/1/19 17:17
  1004. * @throw
  1005. */
  1006. int shopOrderRoutingNumber(RoutingHeaderData inData);
  1007. /**
  1008. * @param
  1009. * @return int
  1010. * @Description 临时表保存信息
  1011. * @Title ShopOrderRoutingNumber
  1012. * @author rq
  1013. * @date 2022/1/19 17:17
  1014. * @throw
  1015. */
  1016. void saveRoutingChangeCach(@Param("tableName") String tableName, @Param("site") String site, @Param("partNo") String partNo);
  1017. /**
  1018. * @param
  1019. * @return int
  1020. * @Description 更改生产订单上的工艺路线版本号
  1021. * @Title updateOrderRevNo
  1022. * @author rq
  1023. * @date 2022/1/19 17:17
  1024. * @throw
  1025. */
  1026. void updateOrderRevNo(@Param("tableName") String tableName, @Param("revNo") String revNo);
  1027. /**
  1028. * @param
  1029. * @return int
  1030. * @Description 删除原有的上产订单上的工序
  1031. * @Title deleteNowItemNo
  1032. * @author rq
  1033. * @date 2022/1/19 17:17
  1034. * @throw
  1035. */
  1036. void deleteNowItemNo(@Param("tableName") String tableName);
  1037. /**
  1038. * @param
  1039. * @return int
  1040. * @Description 删除原有的上产订单上的工具
  1041. * @Title deleteNowToolNo
  1042. * @author rq
  1043. * @date 2022/1/19 17:17
  1044. * @throw
  1045. */
  1046. void deleteNowToolNo(@Param("tableName") String tableName);
  1047. /**
  1048. * @param
  1049. * @return int
  1050. * @Description 创建新工序
  1051. * @Title saveNewItemNo
  1052. * @author rq
  1053. * @date 2022/1/19 17:17
  1054. * @throw
  1055. */
  1056. void saveNewItemNo(@Param("tableName") String tableName, @Param("site") String site, @Param("partNo") String partNo, @Param("revNo") String revNo);
  1057. /**
  1058. * @param
  1059. * @return int
  1060. * @Description 创建新工具
  1061. * @Title saveNewTool
  1062. * @author rq
  1063. * @date 2022/1/19 17:17
  1064. * @throw
  1065. */
  1066. void saveNewTool(@Param("tableName") String tableName, @Param("site") String site, @Param("partNo") String partNo, @Param("revNo") String revNo, @Param("user") String user);
  1067. /**
  1068. * @param
  1069. * @return int
  1070. * @Description 删除零时表
  1071. * @Title deleteRoutingChangeCach
  1072. * @author rq
  1073. * @date 2022/1/19 17:17
  1074. * @throw
  1075. */
  1076. void deleteRoutingChangeCach(@Param("tableName") String tableName);
  1077. /**
  1078. * @param inData
  1079. * @return int
  1080. * @Description 判断工艺路线版本是否存在
  1081. * @Title checkRoutingRevNo
  1082. * @author rq
  1083. * @date 2022/1/20 14:57
  1084. * @throw
  1085. */
  1086. List<RoutingHeaderData> checkRoutingRevNo(CopyRoutingData inData);
  1087. /**
  1088. * @param inData
  1089. * @return int
  1090. * @Description 复制BOM
  1091. * @Title copyBom
  1092. * @author rq
  1093. * @date 2022/1/20 14:57
  1094. * @throw
  1095. */
  1096. void copyBom(CopyRoutingData inData);
  1097. /**
  1098. * @param inData
  1099. * @return int
  1100. * @Description 复制BOM
  1101. * @Title copyRoutingDetail
  1102. * @author rq
  1103. * @date 2022/1/20 14:57
  1104. * @throw
  1105. */
  1106. void copyRoutingDetail(CopyRoutingData inData);
  1107. /**
  1108. * @param
  1109. * @return void
  1110. * @Description 复制工具
  1111. * @Title copyRoutingTool
  1112. * @author rq
  1113. * @date 2022/1/20 15:30
  1114. * @throw
  1115. */
  1116. void copyRoutingTool(CopyRoutingData inData);
  1117. /**
  1118. * @param inData
  1119. * @return void
  1120. * @Description 复制可用机台
  1121. * @Title copyAvailableResource
  1122. * @author rq
  1123. * @date 2022/1/20 15:43
  1124. * @throw
  1125. */
  1126. void copyAvailableResource(CopyRoutingData inData);
  1127. /**
  1128. * @param inData
  1129. * @return void
  1130. * @Description 停用早期版本
  1131. * @Title closeOldBom
  1132. * @author rq
  1133. * @date 2022/1/20 15:50
  1134. * @throw
  1135. */
  1136. void closeOldBom(CopyRoutingData inData);
  1137. /**
  1138. * @param inData
  1139. * @return RoutingHeaderData
  1140. * @Description
  1141. * @Title checkRoutingDefaultFlag
  1142. * @author rq
  1143. * @date 2022/1/20 16:39
  1144. * @throw
  1145. */
  1146. RoutingHeaderData checkRoutingDefaultFlag(RoutingHeaderData inData);
  1147. /**
  1148. * @param inData
  1149. * @return RoutingHeaderData
  1150. * @Description
  1151. * @Title setDefault
  1152. * @author rq
  1153. * @date 2022/1/20 16:39
  1154. * @throw
  1155. */
  1156. void setDefault(RoutingHeaderData inData);
  1157. /**
  1158. * @param inData
  1159. * @return RoutingHeaderData
  1160. * @Description
  1161. * @Title saveRoutingHeaderData
  1162. * @author rq
  1163. * @date 2022/1/20 16:39
  1164. * @throw
  1165. */
  1166. void saveRoutingHeaderData(RoutingHeaderData inData);
  1167. /**
  1168. * @param inData
  1169. * @return RoutingHeaderData
  1170. * @Description
  1171. * @Title updateRoutingHeaderData
  1172. * @author rq
  1173. * @date 2022/1/20 16:39
  1174. * @throw
  1175. */
  1176. void updateRoutingHeaderData(RoutingHeaderData inData);
  1177. /**
  1178. * @param inData
  1179. * @return RoutingHeaderData
  1180. * @Description 取消默认
  1181. * @Title cancelDefault
  1182. * @author rq
  1183. * @date 2022/1/20 16:39
  1184. * @throw
  1185. */
  1186. void cancelDefault(RoutingHeaderData inData);
  1187. /**
  1188. * @param inData
  1189. * @return RoutingHeaderData
  1190. * @Description
  1191. * @Title deleteRoutingHeaderData
  1192. * @author rq
  1193. * @date 2022/1/20 16:39
  1194. * @throw
  1195. */
  1196. void deleteRoutingHeaderData(RoutingHeaderData inData);
  1197. /**
  1198. * @param inData
  1199. * @return RoutingHeaderData
  1200. * @Description
  1201. * @Title deleteRoutingDetailData
  1202. * @author rq
  1203. * @date 2022/1/20 16:39
  1204. * @throw
  1205. */
  1206. void deleteRoutingDetailData(RoutingHeaderData inData);
  1207. /**
  1208. * @param inData
  1209. * @return RoutingHeaderData
  1210. * @Description
  1211. * @Title deleteRoutingToolAll
  1212. * @author rq
  1213. * @date 2022/1/20 16:39
  1214. * @throw
  1215. */
  1216. void deleteRoutingToolAll(RoutingHeaderData inData);
  1217. /**
  1218. * @param inData
  1219. * @return RoutingHeaderData
  1220. * @Description
  1221. * @Title deleteRoutingResourceAll
  1222. * @author rq
  1223. * @date 2022/1/20 16:39
  1224. * @throw
  1225. */
  1226. void deleteRoutingResourceAll(RoutingHeaderData inData);
  1227. /**
  1228. * @param inData
  1229. * @return ResponseData
  1230. * @Description 工作日例外中某天的班次情况
  1231. * @Title getCalendarExceptionShiftData
  1232. * @author rq
  1233. * @date 2022/1/20 14:11
  1234. * @throw
  1235. */
  1236. List<CalendarExceptionShiftData> getCalendarExceptionShiftData(CalendarExceptionShiftData inData);
  1237. List<CalendarExceptionShiftData> findCalendarExceptionShiftData(CalendarExceptionShiftData inData);
  1238. /**
  1239. * @param inData
  1240. * @return ResponseData
  1241. * @Description 更新工作日例外中某天的班次
  1242. * @Title updateCESShift
  1243. * @author rq
  1244. * @date 2022/1/20 14:11
  1245. * @throw
  1246. */
  1247. int updateCESShift(CalendarExceptionShiftData inData);
  1248. /**
  1249. * @param indata
  1250. * @return List<SORoutingData>
  1251. * @Description 查数据
  1252. * @Title getSORoutingData
  1253. * @author rq
  1254. * @date 2022/4/6 15:00
  1255. * @throw
  1256. */
  1257. List<SORoutingData> getSORoutingData(SORoutingData indata);
  1258. /**
  1259. * @param indata
  1260. * @return List<SORoutingData>
  1261. * @Description 校验工序是否存在
  1262. * @Title getSORoutingData
  1263. * @author rq
  1264. * @date 2022/4/6 15:00
  1265. * @throw
  1266. */
  1267. List<SORoutingData> checkSORoutingItemNo(SORoutingData indata);
  1268. /**
  1269. * @param indata
  1270. * @return List<SORoutingData>
  1271. * @Description
  1272. * @Title getMaxSORoutingItemNo
  1273. * @author rq
  1274. * @date 2022/4/6 15:00
  1275. * @throw
  1276. */
  1277. SORoutingData getMaxSORoutingItemNo(SORoutingData indata);
  1278. /**
  1279. * @param inData
  1280. * @return void
  1281. * @Description 保存工艺路线
  1282. * @Title saveSORoutingData
  1283. * @author rq
  1284. * @date 2022/1/15 17:01
  1285. * @throw
  1286. */
  1287. void saveSORoutingData(SORoutingData inData);
  1288. /**
  1289. * @param inData
  1290. * @return void
  1291. * @Description 更新工艺路线
  1292. * @Title updateSORoutingData
  1293. * @author rq
  1294. * @date 2022/1/15 17:01
  1295. * @throw
  1296. */
  1297. void updateSORoutingData(SORoutingData inData);
  1298. /**
  1299. * @param inData
  1300. * @return void
  1301. * @Description 更新工艺路线下到工序
  1302. * @Title updateSORoutingDataNextItemNo
  1303. * @author rq
  1304. * @date 2022/1/15 17:01
  1305. * @throw
  1306. */
  1307. void updateSORoutingDataNextItemNo(SORoutingData inData);
  1308. float getShopOrderLotSize(@Param("site") String site, @Param("orderNo") String orderNo);
  1309. /**
  1310. * @param
  1311. * @return ResponseData
  1312. * @Description 查询SORouting里面的
  1313. * @Title searchSORoutingResource
  1314. * @author rq
  1315. * @date 2022/1/15 16:17
  1316. * @throw
  1317. */
  1318. List<SORoutingAvailableResourceData> searchSORoutingResource(SORoutingAvailableResourceData indata);
  1319. /**
  1320. * @param indata
  1321. * @return List<WorkCenterResourceData>
  1322. * @Description
  1323. * @Title checkRoutingResource
  1324. * @author rq
  1325. * @date 2022/1/17 15:32
  1326. * @throw
  1327. */
  1328. List<SORoutingAvailableResourceData> checkSORoutingResource(SORoutingAvailableResourceData indata);
  1329. /**
  1330. * @param indata
  1331. * @return void
  1332. * @Description TODO
  1333. * @Title addRoutingResource
  1334. * @author rq
  1335. * @date 2022/1/17 16:54
  1336. * @throw
  1337. */
  1338. void addSORoutingResource(SORoutingAvailableResourceData indata);
  1339. /**
  1340. * @param indata
  1341. * @return void
  1342. * @Description 删除机台
  1343. * @Title deleteRoutingResource
  1344. * @author rq
  1345. * @date 2022/1/17 16:54
  1346. * @throw
  1347. */
  1348. void deleteSORoutingResource(SORoutingAvailableResourceData indata);
  1349. /**
  1350. * @param inData
  1351. * @return ResponseData
  1352. * @Description 查询工艺路线版本信息
  1353. * @Title getSORoutingRevNo
  1354. * @author rq
  1355. * @date 2022/1/15 16:17
  1356. * @throw
  1357. */
  1358. List<RoutingHeaderData> getSORoutingRevNo(RoutingHeaderData inData);
  1359. /**
  1360. * @param
  1361. * @return ResponseData
  1362. * @Description 判断该订单是否有派工单
  1363. * @Title checkSOSchedule
  1364. * @author rq
  1365. * @date 2022/1/15 16:17
  1366. * @throw
  1367. */
  1368. List<SOScheduledRoutingData> checkSOSchedule(@Param("site") String site, @Param("orderNo") String orderNo, @Param("itemNo") double itemNo);
  1369. /**
  1370. * @param
  1371. * @return ResponseData
  1372. * @Description 检查SOROUTING
  1373. * @Title checkSORouting
  1374. * @author rq
  1375. * @date 2022/1/15 16:17
  1376. * @throw
  1377. */
  1378. SORoutingData checkSORouting(SORoutingData inData);
  1379. /**
  1380. * @param
  1381. * @return ResponseData
  1382. * @Description 检查SOROUTING
  1383. * @Title checkPRDetail
  1384. * @author rq
  1385. * @date 2022/1/15 16:17
  1386. * @throw
  1387. */
  1388. List<PRDetail> checkPRDetail(SORoutingData inData);
  1389. /**
  1390. * @param
  1391. * @return ResponseData
  1392. * @Description 判断是否有可用机台
  1393. * @Title checkSORoutingAvailableResourceData
  1394. * @author rq
  1395. * @date 2022/1/15 16:17
  1396. * @throw
  1397. */
  1398. List<SORoutingAvailableResourceData> checkSORoutingAvailableResourceData(SORoutingData inData);
  1399. /**
  1400. * @param
  1401. * @return ResponseData
  1402. * @Description 判断是否有工具
  1403. * @Title checkSOTool
  1404. * @author rq
  1405. * @date 2022/1/15 16:17
  1406. * @throw
  1407. */
  1408. List<SOToolData> checkSOTool(SORoutingData inData);
  1409. /**
  1410. * @param
  1411. * @return ResponseData
  1412. * @Description
  1413. * @Title checkShopOrde
  1414. * @author rq
  1415. * @date 2022/1/15 16:17
  1416. * @throw
  1417. */
  1418. ShopOrderData checkShopOrder(@Param("site") String site, @Param("orderNo") String orderNo);
  1419. /**
  1420. * @param inData
  1421. * @return void
  1422. * @Description
  1423. * @Title deleteSORouting
  1424. * @author rq
  1425. * @date 2022/4/14 11:12
  1426. * @throw
  1427. */
  1428. void deleteSORouting(SORoutingData inData);
  1429. /**
  1430. * @param inData
  1431. * @return void
  1432. * @Description
  1433. * @Title updateSORoutingNextLast
  1434. * @author rq
  1435. * @date 2022/4/14 11:12
  1436. * @throw
  1437. */
  1438. void updateSORoutingNextLast(SORoutingData inData);
  1439. /**
  1440. * @param [calendarData]
  1441. * @author: sxm
  1442. * @description: 获取选中班次类型 默认信息
  1443. * @return: com.gaotao.modules.base.entity.CalendarDatetypeOutData
  1444. * @date: 2022/10/21 10:06
  1445. */
  1446. CalendarDatetypeOutData getCalendarDatetypeInfo(CalendarDatetypeOutData calendarData);
  1447. /**
  1448. * @param [calendarExceptionData]
  1449. * @author: sxm
  1450. * @description: 修改班次信息
  1451. * @return: void
  1452. * @date: 2022/10/21 10:27
  1453. */
  1454. void updateWorkingCalendar(CalendarExceptionData data);
  1455. /**
  1456. * @author: sxm
  1457. * @description: 获取物料分类
  1458. * @param [site, familyID]
  1459. * @return: com.gaotao.modules.base.entity.PartFamilyData
  1460. * @date: 2022/12/23 13:02
  1461. */
  1462. PartFamilyData getPartFamilyInfo(@Param("site") String site,@Param("familyID") String familyID);
  1463. /**
  1464. * @description: 获取标签定义的列表信息
  1465. * @author LR
  1466. * @date 2022/12/27 17:55
  1467. * @version 1.0
  1468. */
  1469. List<LabelSettingData> getLabelSettingList(LabelSettingData inData);
  1470. /**
  1471. * @description: 获取标签信息按照标签编号查询
  1472. * @author LR
  1473. * @date 2022/12/28 15:48
  1474. * @version 1.0
  1475. */
  1476. LabelSettingData getLabelSettingByLabelNo(String labelNo);
  1477. /**
  1478. * @description: 插入标签的信息
  1479. * @author LR
  1480. * @date 2022/12/28 16:02
  1481. * @version 1.0
  1482. */
  1483. void insertLabelSetting(LabelSettingData inData);
  1484. /**
  1485. * @description: 修改标签自定义的信息
  1486. * @author LR
  1487. * @date 2022/12/28 16:03
  1488. * @version 1.0
  1489. */
  1490. void updateLabelSetting(LabelSettingData inData);
  1491. /**
  1492. * @description: 删除标签主表信息
  1493. * @author LR
  1494. * @date 2023/1/3 11:23
  1495. * @version 1.0
  1496. */
  1497. void deleteLabelSettingByLabelNo(String labelNo);
  1498. /**
  1499. * @description: 查询默认标签的配置信息
  1500. * @author LR
  1501. * @date 2023/1/3 16:20
  1502. * @version 1.0
  1503. */
  1504. List<DefaultLabelSettingData> getDefaultLabelSettingList(DefaultLabelSettingData inData);
  1505. /**
  1506. * @description: 插入默认标签的配置信息
  1507. * @author LR
  1508. * @date 2023/1/4 10:26
  1509. * @version 1.0
  1510. */
  1511. void insertDefaultLabelSetting(DefaultLabelSettingData inData);
  1512. /**
  1513. * @description: 修改默认标签的配置信息
  1514. * @author LR
  1515. * @date 2023/1/4 10:27
  1516. * @version 1.0
  1517. */
  1518. void updateDefaultLabelSetting(DefaultLabelSettingData inData);
  1519. /**
  1520. * @description: 删除默认标签的配置信息
  1521. * @author LR
  1522. * @date 2023/1/4 10:28
  1523. * @version 1.0
  1524. */
  1525. void deleteDefaultLabelSetting(DefaultLabelSettingData inData);
  1526. /**
  1527. * @description: 查询客制化标签的配置信息
  1528. * @author LR
  1529. * @date 2023/1/4 16:14
  1530. * @version 1.0
  1531. */
  1532. List<CustomerLabelSettingData> getCustomerLabelSettingList(CustomerLabelSettingData inData);
  1533. /**
  1534. * @description: 插入客制化标签配置信息
  1535. * @author LR
  1536. * @date 2023/1/5 11:48
  1537. * @version 1.0
  1538. */
  1539. void insertCustomerLabelSetting(CustomerLabelSettingData inData);
  1540. /**
  1541. * @description: 修改客制化标签配置信息
  1542. * @author LR
  1543. * @date 2023/1/5 11:52
  1544. * @version 1.0
  1545. */
  1546. void updateCustomerLabelSetting(CustomerLabelSettingData inData);
  1547. /**
  1548. * @description: 删除客制化标签的配置信息
  1549. * @author LR
  1550. * @date 2023/1/5 13:29
  1551. * @version 1.0
  1552. */
  1553. void deleteCustomerLabelSetting(CustomerLabelSettingData inData);
  1554. /**
  1555. * @description: 获取用户的标签打印机配置信息
  1556. * @author LR
  1557. * @date 2023/1/5 17:36
  1558. * @version 1.0
  1559. */
  1560. List<UserLabelPrinterData> getUserLabelPrinters(UserLabelPrinterData inData);
  1561. /**
  1562. * @description: 按照用户ID查询用户的信息
  1563. * @author LR
  1564. * @date 2023/1/6 11:19
  1565. * @version 1.0
  1566. */
  1567. SysUserData getSysUserDataByUserId(UserLabelPrinterData inData);
  1568. /**
  1569. * @description: 插入用户的标签打印机参数
  1570. * @author LR
  1571. * @date 2023/1/6 13:37
  1572. * @version 1.0
  1573. */
  1574. void insertUserLabelPrinter(UserLabelPrinterData inData);
  1575. /**
  1576. * @description: 修改用户标签打印机信息
  1577. * @author LR
  1578. * @date 2023/1/6 13:43
  1579. * @version 1.0
  1580. */
  1581. void updateUserLabelPrinter(UserLabelPrinterData inData);
  1582. /**
  1583. * @description: 删除用户标签的打印机的信息
  1584. * @author LR
  1585. * @date 2023/1/6 13:46
  1586. * @version 1.0
  1587. */
  1588. void deleteUserLabelPrinter(UserLabelPrinterData inData);
  1589. /**
  1590. * @description: 获取标签打印参数配置信息
  1591. * @author LR
  1592. * @date 2023/1/6 17:14
  1593. * @version 1.0
  1594. */
  1595. List<LabelParameterData> getLabelParameterList(LabelParameterData inData);
  1596. /**
  1597. * @description: 插入标签的打印参数
  1598. * @author LR
  1599. * @date 2023/1/8 20:32
  1600. * @version 1.0
  1601. */
  1602. void insertLabelPrintParameter(LabelParameterData inData);
  1603. /**
  1604. * @description: 修改标签打印参数的信息
  1605. * @author LR
  1606. * @date 2023/1/9 9:18
  1607. * @version 1.0
  1608. */
  1609. void updateLabelPrintParameter(LabelParameterData inData);
  1610. /**
  1611. * @description: 删除标签打印参数的信息
  1612. * @author LR
  1613. * @date 2023/1/9 9:20
  1614. * @version 1.0
  1615. */
  1616. void deleteLabelPrintParameter(LabelParameterData inData);
  1617. /**
  1618. * @description: 查询标签内容定义列表
  1619. * @author LR
  1620. * @date 2023/1/9 17:47
  1621. * @version 1.0
  1622. */
  1623. List<LabelContentData> getLabelContentList(LabelContentData inData);
  1624. /**
  1625. * @description: 插入标签的打印参数
  1626. * @author LR
  1627. * @date 2023/1/9 18:32
  1628. * @version 1.0
  1629. */
  1630. void insertLabelContent(LabelContentData inData);
  1631. /**
  1632. * @description: 修改标签的打印参数
  1633. * @author LR
  1634. * @date 2023/1/9 19:13
  1635. * @version 1.0
  1636. */
  1637. void updateLabelContent(LabelContentData inData);
  1638. /**
  1639. * @description: 删除标签内容定义
  1640. * @author LR
  1641. * @date 2023/1/9 19:26
  1642. * @version 1.0
  1643. */
  1644. void deleteLabelContent(LabelContentData inData);
  1645. /**
  1646. * @description: 查询可以复制的标签内容定义
  1647. * @author LR
  1648. * @date 2023/1/10 11:01
  1649. * @version 1.0
  1650. */
  1651. List<LabelSettingData> getCopyLabelSettingList(LabelSettingData inData);
  1652. /**
  1653. * @description: 删除原标签内容定义
  1654. * @author LR
  1655. * @date 2023/1/10 13:16
  1656. * @version 1.0
  1657. */
  1658. void deleteLabelAllContentsByLabelNo(LabelSettingData inData);
  1659. /**
  1660. * @description: 复制新的标签内容定义进入当前标签
  1661. * @author LR
  1662. * @date 2023/1/10 13:18
  1663. * @version 1.0
  1664. */
  1665. void copyLabelAllContentsWithOther(LabelSettingData inData);
  1666. /**
  1667. * @description: 获取要用的标签内容
  1668. * @author LR
  1669. * @date 2023/1/10 14:50
  1670. * @version 1.0
  1671. */
  1672. List<LabelContentData> getUsedLabelContent(LabelContentData inData);
  1673. /**
  1674. * @description: 获取标签内容的流水号规则
  1675. * @author LR
  1676. * @date 2023/1/10 14:58
  1677. * @version 1.0
  1678. */
  1679. List<LabelContentSerialRuleData> getLabelContentSerialRule(LabelContentData inData);
  1680. /**
  1681. * @description: 删除标签内容的流水号规则
  1682. * @author LR
  1683. * @date 2023/1/10 16:06
  1684. * @version 1.0
  1685. */
  1686. void deleteLabelContentSerialRule(LabelContentSerialRuleData inData);
  1687. /**
  1688. * @description: 获取标签内容的流水号信息
  1689. * @author LR
  1690. * @date 2023/1/10 16:37
  1691. * @version 1.0
  1692. */
  1693. List<LabelContentSerialInfoData> getLabelSerialInfos(LabelContentData inData);
  1694. /**
  1695. * @description: 插入标签流水号信息
  1696. * @author LR
  1697. * @date 2023/1/10 17:08
  1698. * @version 1.0
  1699. */
  1700. void insertLabelSerialInfo(LabelContentSerialInfoData inData);
  1701. /**
  1702. * @description: 修改标签流水号信息
  1703. * @author LR
  1704. * @date 2023/1/10 17:14
  1705. * @version 1.0
  1706. */
  1707. void updateLabelSerialInfo(LabelContentSerialInfoData inData);
  1708. /**
  1709. * @description: 删除标签流水号信息
  1710. * @author LR
  1711. * @date 2023/1/10 18:13
  1712. * @version 1.0
  1713. */
  1714. void deleteLabelSerialInfo(LabelContentSerialInfoData inData);
  1715. /**
  1716. * @author: sxm
  1717. * @description: 保存新班次
  1718. * @param [data]
  1719. * @return: void
  1720. * @date: 2023/1/13 17:13
  1721. */
  1722. void saveCalendarExceptionShift(CalendarExceptionData data);
  1723. /**
  1724. * @author: sxm
  1725. * @description: 删除班次
  1726. * @param [data]
  1727. * @return: void
  1728. * @date: 2023/1/13 17:15
  1729. */
  1730. void deleteCalendarExceptionShift(CalendarExceptionData data);
  1731. /**
  1732. * @author: sxm
  1733. * @description: 获取物料最大工序
  1734. * @param [inData]
  1735. * @return: java.lang.String
  1736. * @date: 2023/3/7 13:05
  1737. */
  1738. String getPartNoRouteInMaxItemNo(RoutingDetailData inData);
  1739. }