|
|
|
@ -1,11 +1,13 @@
|
|
|
|
|
package weaver.interfaces.kr.workflow.action;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.http.HttpUtil;
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.engine.kr.entity.kq.KqActionBO;
|
|
|
|
|
import com.engine.kr.entity.kq.KqGlobal;
|
|
|
|
|
import com.engine.kr.enums.KqInteractiveEnum;
|
|
|
|
|
import com.engine.kr.service.impl.KqInteractiveServiceImpl;
|
|
|
|
|
import weaver.general.BaseBean;
|
|
|
|
|
import weaver.interfaces.workflow.action.Action;
|
|
|
|
|
import weaver.soa.workflow.request.MainTableInfo;
|
|
|
|
|
import weaver.soa.workflow.request.Property;
|
|
|
|
@ -94,7 +96,10 @@ public class KrSingleOvertimeCreateAction implements Action {
|
|
|
|
|
params.put("cfmDay", operateDateTime.get("addDay"));
|
|
|
|
|
params.put("billStat", 1);
|
|
|
|
|
|
|
|
|
|
new BaseBean().writeLog("########加班流程,requestid={" + requestInfo.getRequestid() + "],传参:"+ JSON.toJSONString(params));
|
|
|
|
|
|
|
|
|
|
String returnStr = HttpUtil.post(KqGlobal.POST_URL + KqInteractiveEnum.OVERTIME_CREATE.getPostPath(), params);
|
|
|
|
|
new BaseBean().writeLog("########加班流程,requestid={" + requestInfo.getRequestid() + "],接口响应数据:"+ returnStr);
|
|
|
|
|
JSONObject jsonObject = JSONObject.parseObject(returnStr);
|
|
|
|
|
String code = jsonObject.getString("code");
|
|
|
|
|
if (KqGlobal.SUC_CODE.equals(code)) {
|
|
|
|
|