package com.jwipc.job.constant;

import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.jwipc.api.dto.ApiResult;
import com.jwipc.api.interceptor.MesInterceptor;
import com.jwipc.job.dto.MaterialBatchQualifiedQueryDTO;
import com.jwipc.log.annotation.ApiOperateLog;
import com.jwipc.log.constant.ApiDirection;
import com.jwipc.log.constant.ThirdSysType;


/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
public interface MaterialBatchMesClient {
    @Post(value = "http://172.20.200.41:1111/api/api/SRMViewPartLAR", interceptor = MesInterceptor.class,dataType =
            "json")
    @ApiOperateLog(code = "pullDMaterialBatchQualified", name = "从MES系统拉取物料批次合格率", direction = ApiDirection.SRM_TO_OTHER,
            thirdSysType = ThirdSysType.MES)
    ApiResult pullDMaterialBatchQualified(@JSONBody MaterialBatchQualifiedQueryDTO mes);

}
