|
@@ -8,6 +8,7 @@ import cn.hutool.json.JSONUtil;
|
|
|
import com.warewms.hailiang.MES.MesService;
|
|
|
import io.swagger.util.Json;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
|
|
|
/**
|
|
|
* Created with IntelliJ IDEA.
|
|
@@ -18,6 +19,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
* To change this template use File | Settings | File Templates.
|
|
|
* Description: MES对接实现类
|
|
|
**/
|
|
|
+@Service
|
|
|
public class MesServiceImpl implements MesService {
|
|
|
@Value("${MES.address}")
|
|
|
private String MESAddress;
|
|
@@ -25,7 +27,7 @@ public class MesServiceImpl implements MesService {
|
|
|
@Value("${MES.getBatchNoUrl}")
|
|
|
private String getBatchNoUrl;
|
|
|
|
|
|
- @Value("${MES.getBatchNoResultURl}")
|
|
|
+ @Value("${MES.getBatchNoResultUrl}")
|
|
|
private String getBatchNoResultURl;
|
|
|
|
|
|
|