Commit 3093a804 by lal

提交

parent d61f3495
...@@ -9,6 +9,8 @@ import java.util.Date; ...@@ -9,6 +9,8 @@ import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.management.Query;
import org.codehaus.jettison.json.JSONObject; import org.codehaus.jettison.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
...@@ -1415,6 +1417,15 @@ public class TimeCardController { ...@@ -1415,6 +1417,15 @@ public class TimeCardController {
return ResultUtil.data(attgro,"操作成功!"); return ResultUtil.data(attgro,"操作成功!");
} }
@GetMapping(value="/Overtime_rule_default")
@ApiOperation(value = "获取当前公司的默认加班规则", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> Overtime_rule_default(@CurrentUser UserBean userBean) {
KqglAssoOvertimeRules defovwe = KqglAssoOvertimeRules.builder().build().selectOne(new QueryWrapper<KqglAssoOvertimeRules>().lambda().eq(KqglAssoOvertimeRules::getOrgCode, userBean.getOrgCode())
.eq(KqglAssoOvertimeRules::getOvertimeruledefault, 1));
return ResultUtil.data(defovwe,"操作成功!");
}
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment