|
@@ -31,11 +31,11 @@ public class DuxiaomanJob {
|
|
|
String url = jobUrl + "/jeecg-boot/duxiaoman/materialInfo/uploadMaterial";
|
|
|
|
|
|
//0-待审核,1-待上传,2-审批中,3-审核通过,4-审核不通过,5-预审核,6-预审核拒绝,7-上传成功,8-上传失败
|
|
|
- List<Long> idList = materialInfoService.getDuxiaomanMaterialInfoByStatus(1);
|
|
|
+ List<String> idList = materialInfoService.getDuxiaomanMaterialInfoByStatus(1);
|
|
|
if (Check.isNull(idList)) {
|
|
|
return;
|
|
|
}
|
|
|
- for (Long id : idList) {
|
|
|
+ for (String id : idList) {
|
|
|
Map<String, Object> requestMap = new HashMap<>();
|
|
|
requestMap.put("id", id);
|
|
|
HttpUtils2.httpGet(url, requestMap, null);
|
|
@@ -51,11 +51,11 @@ public class DuxiaomanJob {
|
|
|
String url = jobUrl + "/jeecg-boot/duxiaoman/materialInfo/materialReport";
|
|
|
|
|
|
//0-待审核,1-待上传,2-审批中,3-审核通过,4-审核不通过,5-预审核,6-预审核拒绝,7-上传成功,8-上传失败
|
|
|
- List<Long> idList = materialInfoService.getDuxiaomanMaterialInfoByStatus(7);
|
|
|
+ List<String> idList = materialInfoService.getDuxiaomanMaterialInfoByStatus(7);
|
|
|
if (Check.isNull(idList)) {
|
|
|
return;
|
|
|
}
|
|
|
- for (Long id : idList) {
|
|
|
+ for (String id : idList) {
|
|
|
Map<String, Object> requestMap = new HashMap<>();
|
|
|
requestMap.put("id", id);
|
|
|
HttpUtils2.httpGet(url, requestMap, null);
|
|
@@ -71,11 +71,11 @@ public class DuxiaomanJob {
|
|
|
String url = jobUrl + "/jeecg-boot/duxiaoman/materialInfo/materialDetail";
|
|
|
|
|
|
//0-待审核,1-待上传,2-审批中,3-审核通过,4-审核不通过,5-预审核,6-预审核拒绝,7-上传成功,8-上传失败
|
|
|
- List<Long> idList = materialInfoService.getDuxiaomanMaterialInfoByStatus(2);
|
|
|
+ List<String> idList = materialInfoService.getDuxiaomanMaterialInfoByStatus(2);
|
|
|
if (Check.isNull(idList)) {
|
|
|
return;
|
|
|
}
|
|
|
- for (Long id : idList) {
|
|
|
+ for (String id : idList) {
|
|
|
Map<String, Object> requestMap = new HashMap<>();
|
|
|
requestMap.put("id", id);
|
|
|
HttpUtils2.httpGet(url, requestMap, null);
|