|
|
@ -11,6 +11,7 @@ import com.glxp.api.req.sync.BasicExportStatusRequest;
|
|
|
|
import com.glxp.api.res.chs.YbHcflEntityResponse;
|
|
|
|
import com.glxp.api.res.chs.YbHcflEntityResponse;
|
|
|
|
import com.glxp.api.service.thrsys.ThrConsumeMaterialCategoryService;
|
|
|
|
import com.glxp.api.service.thrsys.ThrConsumeMaterialCategoryService;
|
|
|
|
import com.glxp.api.service.thrsys.ThrInvOrderService;
|
|
|
|
import com.glxp.api.service.thrsys.ThrInvOrderService;
|
|
|
|
|
|
|
|
import com.glxp.api.service.thrsys.ThrProductsService;
|
|
|
|
import com.glxp.api.task.TestStatOrderService;
|
|
|
|
import com.glxp.api.task.TestStatOrderService;
|
|
|
|
import com.glxp.api.util.MsDateUtil;
|
|
|
|
import com.glxp.api.util.MsDateUtil;
|
|
|
|
import com.glxp.api.util.RedisUtil;
|
|
|
|
import com.glxp.api.util.RedisUtil;
|
|
|
@ -123,4 +124,19 @@ public class TestController {
|
|
|
|
return ResultVOUtils.success("");
|
|
|
|
return ResultVOUtils.success("");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 拉取视图测试
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
private ThrProductsService thrProductsService;
|
|
|
|
|
|
|
|
@GetMapping("/test/downloadThrPi")
|
|
|
|
|
|
|
|
public BaseResponse downloadThrPi() {
|
|
|
|
|
|
|
|
ThrSystemDetailEntity thrSystemDetailEntity = new ThrSystemDetailEntity();
|
|
|
|
|
|
|
|
thrSystemDetailEntity.setThirdSysFk("thirdId");
|
|
|
|
|
|
|
|
thrSystemDetailEntity.setProductType(2);
|
|
|
|
|
|
|
|
thrProductsService.downloadThrPi(thrSystemDetailEntity);
|
|
|
|
|
|
|
|
return ResultVOUtils.success("");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|