java110 пре 5 година
родитељ
комит
f138dc460b

+ 85 - 50
java110-generator/src/main/resources/web/template_1.json

@@ -1,108 +1,143 @@
 {
-  "templateName": "临时车收费标准",
+  "templateName": "考勤班组",
   "directories": "property",
-  "templateCode": "tempCarFeeConfig",
-  "templateKey": "configId",
-  "templateKeyName": "标准ID",
-  "searchCode": "configId",
-  "searchName": "标准ID",
+  "templateCode": "attendanceClasses",
+  "templateKey": "classesId",
+  "templateKeyName": "班组ID",
+  "searchCode": "classesId",
+  "searchName": "班组ID",
   "conditions": [
     {
-      "name": "标准名称",
+      "name": "班组名称",
       "inputType": "input",
-      "code": "feeName",
+      "code": "classesName",
       "whereCondition": "equal"
     },
     {
-      "name": "停车场",
+      "name": "班组ID",
       "inputType": "input",
-      "code": "paId",
+      "code": "classesId",
       "whereCondition": "equal"
     },
     {
-      "name": "车辆类型",
+      "name": "打卡类型",
       "inputType": "select",
-      "selectValue":"9901,9904,9905",
-      "selectValueName":"家用小汽车,电动车,三轮车",
-      "code": "carType",
+      "selectValue":"1001,1002,1003",
+      "selectValueName":"每天打卡,隔天打卡,自定义",
+      "code": "clockType",
       "whereCondition": "equal"
     }
   ],
   "columns": [
     {
-      "code": "feeName",
-      "cnCode": "标准名称",
-      "desc": "必填,请填写标准名称",
+      "code": "classesName",
+      "cnCode": "班次名称",
+      "desc": "必填,请填写班次名称",
       "required": true,
       "hasDefaultValue": false,
       "inputType": "input",
       "limit": "maxLength",
       "limitParam": "64",
-      "limitErrInfo": "标准名称格式错误",
+      "limitErrInfo": "班次名称格式错误",
       "show": true
     },
     {
-      "code": "paId",
-      "cnCode": "停车场",
-      "desc": "选填,请选择停车场",
+      "code": "timeOffset",
+      "cnCode": "打卡范围",
+      "desc": "必填,请填写打卡范围",
       "required": true,
       "hasDefaultValue": false,
       "inputType": "input",
-      "limit": "maxLength",
-      "limitParam": "512",
-      "limitErrInfo": "停车场错误",
+      "limit": "num",
+      "limitParam": "",
+      "limitErrInfo": "打卡范围格式错误",
       "show": true
     },
     {
-      "code": "carType",
-      "cnCode": "车辆类型",
-      "desc": "选填,请选择车辆类型",
+      "code": "clockCount",
+      "cnCode": "打卡次数",
+      "desc": "选填,请选择打卡次数",
       "required": true,
       "hasDefaultValue": false,
       "inputType": "select",
-      "selectValue":"9901,9904,9905",
-      "selectValueName":"家用小汽车,电动车,三轮车",
+      "selectValue":"2,4,6",
+      "selectValueName":"2次,4次,6次",
+      "limit": "num",
+      "limitParam": "",
+      "limitErrInfo": "打卡次数错误",
+      "show": true
+    },{
+      "code": "clockType",
+      "cnCode": "打卡类型",
+      "desc": "选填,请选择打卡类型",
+      "required": true,
+      "hasDefaultValue": false,
+      "inputType": "select",
+      "selectValue":"1001,1002,1003",
+      "selectValueName":"每天打卡,隔天打卡,自定义",
+      "limit": "num",
+      "limitParam": "",
+      "limitErrInfo": "打卡类型错误",
+      "show": true
+    },{
+      "code": "clockTypeValue",
+      "cnCode": "打卡规则",
+      "desc": "必填,请填写打卡规则 * 每天打卡 ? 隔天打卡 0-6组成逗号分隔 自定义",
+      "required": true,
+      "hasDefaultValue": false,
+      "inputType": "input",
       "limit": "maxLength",
-      "limitParam": "512",
-      "limitErrInfo": "车辆类型错误",
+      "limitParam": "12",
+      "limitErrInfo": "打卡规则格式错误",
       "show": true
     },
     {
-      "code": "ruleId",
-      "cnCode": "收费规则",
-      "desc": "选填,请选择收费规则",
+      "code": "leaveOffset",
+      "cnCode": "迟到范围",
+      "desc": "必填,请填写迟到范围",
       "required": true,
       "hasDefaultValue": false,
-      "inputType": "select",
-      "selectValue":"9901,9904,9905",
-      "selectValueName":"规则1,规则2,规则3",
+      "inputType": "input",
       "limit": "maxLength",
-      "limitParam": "512",
-      "limitErrInfo": "收费规则错误",
+      "limitParam": "20",
+      "limitErrInfo": "迟到范围错误",
       "show": true
     },
     {
-      "code": "startTime",
-      "cnCode": "开始时间",
-      "desc": "选填,请选择开始时间",
+      "code": "lateOffset",
+      "cnCode": "早退范围",
+      "desc": "必填,请填写早退范围",
       "required": true,
       "hasDefaultValue": false,
       "inputType": "input",
-      "limit": "date",
-      "limitParam": "",
-      "limitErrInfo": "开始时间错误",
+      "limit": "maxLength",
+      "limitParam": "20",
+      "limitErrInfo": "早退范围错误",
       "show": true
     },
     {
-      "code": "endTime",
-      "cnCode": "结束时间",
-      "desc": "选填,请选择结束时间",
+      "code": "classesObjType",
+      "cnCode": "班次对象类型",
+      "desc": "选填,请选择班次对象类型",
+      "required": true,
+      "hasDefaultValue": false,
+      "inputType": "select",
+      "selectValue":"1001,1002,1003",
+      "selectValueName":"集团公司,分公司,部门",
+      "limit": "num",
+      "limitParam": "",
+      "limitErrInfo": "班次对象类型错误",
+      "show": true
+    },{
+      "code": "classesObjId",
+      "cnCode": "班次对象",
+      "desc": "选填,请选择班次对象",
       "required": true,
       "hasDefaultValue": false,
       "inputType": "input",
-      "limit": "date",
+      "limit": "num",
       "limitParam": "",
-      "limitErrInfo": "结束时间错误",
+      "limitErrInfo": "班次对象错误",
       "show": true
     }
   ]

+ 2 - 2
java110-utils/src/main/java/com/java110/utils/constant/BusinessTypeConstant.java

@@ -1273,8 +1273,8 @@ public class BusinessTypeConstant {
     public static final String BUSINESS_TYPE_DELETE_TEMP_CAR_FEE_CONFIG_ATTR_INFO="651100050002";
 
     /**
-     *  保存工作流节点 处理员工 ORDER_FEE_SERVICE_URL
-     *  3保存 feeServiceTopic
+     *  保存工作流节点 处理员工 ORDER_COMMON_SERVICE_URL
+     *  3保存 commonServiceTopic
      */
     public static final String BUSINESS_TYPE_SAVE_ATTENDANCE_CLASSES="651100030003";