|
@@ -395,8 +395,7 @@ public class TimingTask {
|
|
|
break;
|
|
|
case "陪产假":leaveType=7;
|
|
|
break;
|
|
|
- case "其他":leaveType=8;
|
|
|
- break;
|
|
|
+ default:leaveType=8;
|
|
|
}
|
|
|
leaveSheet.setLeaveType(leaveType);
|
|
|
leaveSheet.setProcinstId(String.valueOf(map.get("procinstId")));
|
|
@@ -786,7 +785,7 @@ public class TimingTask {
|
|
|
jsonObj.put("value", StringUtils.isEmpty(t.getAlertMsg())?"":t.getAlertMsg());
|
|
|
dataJson.add(jsonObj);
|
|
|
if(isPrivateDeploy){
|
|
|
- json.put("content",StringUtils.isEmpty(t.getAlertMsg())?"":t.getAlertMsg()+"\\n<a href=\\\"https://open.weixin.qq.com/connect/oauth2/authorize?appid="+corpId+"&redirect_uri=http://"+pcUrl+"/api/corpInsideWXAuth&response_type=code&scope=snsapi_base&state=0#wechat_redirect\\\">去填写</a>");
|
|
|
+ json.put("content",StringUtils.isEmpty(t.getAlertMsg())?"":t.getAlertMsg()+"\\n<a href=\\\"https://open.weixin.qq.com/connect/oauth2/authorize?appid="+corpId+"&redirect_uri="+pcUrl+"/api/corpInsideWXAuth&response_type=code&scope=snsapi_base&state=0#wechat_redirect\\\">去填写</a>");
|
|
|
}else {
|
|
|
json.put("template_id","tty9TkCAAAYoevY-40ciWD5lDncDfR5w");
|
|
|
json.put("url", "https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww4e237fd6abb635af&redirect_uri=http://worktime.ttkuaiban.com/api/corpWXAuth&response_type=code&scope=snsapi_base&state=0#wechat_redirect");
|