huang
2025-12-05 73aa66976e35252378be3f09be2474193ccd0bf6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.mes.feign;
 
import com.mes.erp.RawInventory;
import com.mes.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
import java.util.List;
import java.util.Map;
 
/**
 * The interface Erp url open feign service.
 *
 * @Author : zhoush
 * @Date: 2025 /7/7 11:25
 * @Description:
 */
@FeignClient(name = "erp-service", url = "${erp.url}")
public interface ErpUrlOpenFeignService {
    /**
     * 破损报工
     *
     * @param reportingWork the reporting work
     * @return result
     * @
     */
    @PostMapping("/reportingWork/mesSaveReportingWorkWorn")
    Result<Boolean> mesSaveReportingWorkWorn(@RequestBody Map<String, Object> reportingWork);
 
    /**
     * 完工报工
     *
     * @param reportingWork the reporting work
     * @return result
     */
    @PostMapping("/reportingWork/mesReportingWork")
    Result<Boolean> mesReportingWork(@RequestBody Map<String, Object> reportingWork);
 
    /**
     * Mes切割原片报工
     *
     * @param reportingWork the reporting work
     * @return result
     */
    @PostMapping("/materialInventory/mesMaterialOutbound")
    Result<Boolean> mesMaterialOutbound(@RequestBody Map<String, Object> reportingWork);
 
    /**
     * Mes原片获取
     *
     * @return result
     */
    @PostMapping("/materialInventory/mesOriginalSelect")
    Result<List<RawInventory>> mesOriginalSelect();
 
 
}