|
@@ -34,8 +34,7 @@ public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet
|
|
*/
|
|
*/
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
ApiConstants.GlobalSetConstants.VALUE_YES,
|
|
ApiConstants.GlobalSetConstants.VALUE_YES,
|
|
- ApiConstants.GlobalSetConstants.WORK_LIFT,
|
|
|
|
- ApiConstants.GlobalSetConstants.TYPE_PROJECT));
|
|
|
|
|
|
+ ApiConstants.GlobalSetConstants.WORK_LIFT));
|
|
/**
|
|
/**
|
|
* 名称:2.维保类型选项
|
|
* 名称:2.维保类型选项
|
|
* 类型:电梯保养设置 值为2
|
|
* 类型:电梯保养设置 值为2
|
|
@@ -45,8 +44,7 @@ public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet
|
|
*/
|
|
*/
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
ApiConstants.GlobalSetConstants.MT_CLERK_CHOOSE,
|
|
ApiConstants.GlobalSetConstants.MT_CLERK_CHOOSE,
|
|
- ApiConstants.GlobalSetConstants.MT_TYPE_OPTION,
|
|
|
|
- ApiConstants.GlobalSetConstants.TYPE_LIFT));
|
|
|
|
|
|
+ ApiConstants.GlobalSetConstants.MT_TYPE_OPTION));
|
|
|
|
|
|
/**
|
|
/**
|
|
* 名称:3.可同时签到保养的台量
|
|
* 名称:3.可同时签到保养的台量
|
|
@@ -56,8 +54,7 @@ public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet
|
|
*/
|
|
*/
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
1,
|
|
1,
|
|
- ApiConstants.GlobalSetConstants.MT_SAME_UNITS,
|
|
|
|
- ApiConstants.GlobalSetConstants.TYPE_LIFT));
|
|
|
|
|
|
+ ApiConstants.GlobalSetConstants.MT_SAME_UNITS));
|
|
|
|
|
|
/**
|
|
/**
|
|
* 名称:4.签退时,是否需要定位
|
|
* 名称:4.签退时,是否需要定位
|
|
@@ -68,8 +65,7 @@ public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet
|
|
*/
|
|
*/
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
ApiConstants.GlobalSetConstants.VALUE_NO,
|
|
ApiConstants.GlobalSetConstants.VALUE_NO,
|
|
- ApiConstants.GlobalSetConstants.SIGN_OUT_LOCATE,
|
|
|
|
- ApiConstants.GlobalSetConstants.TYPE_LIFT));
|
|
|
|
|
|
+ ApiConstants.GlobalSetConstants.SIGN_OUT_LOCATE));
|
|
/**
|
|
/**
|
|
* 名称:5.保养单是否显示停梯时间和恢复时间
|
|
* 名称:5.保养单是否显示停梯时间和恢复时间
|
|
* 类型:电梯保养设置 值为2
|
|
* 类型:电梯保养设置 值为2
|
|
@@ -79,8 +75,7 @@ public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet
|
|
*/
|
|
*/
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
ApiConstants.GlobalSetConstants.VALUE_NO,
|
|
ApiConstants.GlobalSetConstants.VALUE_NO,
|
|
- ApiConstants.GlobalSetConstants.SHOW_LIFT_TIME,
|
|
|
|
- ApiConstants.GlobalSetConstants.TYPE_LIFT));
|
|
|
|
|
|
+ ApiConstants.GlobalSetConstants.SHOW_LIFT_TIME));
|
|
/**
|
|
/**
|
|
* 名称:6.默认维保间隔
|
|
* 名称:6.默认维保间隔
|
|
* 类型:电梯保养设置 值为2
|
|
* 类型:电梯保养设置 值为2
|
|
@@ -89,8 +84,7 @@ public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet
|
|
*/
|
|
*/
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
15,
|
|
15,
|
|
- ApiConstants.GlobalSetConstants.MT_INTERVAL,
|
|
|
|
- ApiConstants.GlobalSetConstants.TYPE_LIFT));
|
|
|
|
|
|
+ ApiConstants.GlobalSetConstants.MT_INTERVAL));
|
|
/**
|
|
/**
|
|
* 名称:7.补录权限
|
|
* 名称:7.补录权限
|
|
* 类型:电梯保养设置 值为2
|
|
* 类型:电梯保养设置 值为2
|
|
@@ -100,8 +94,7 @@ public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet
|
|
*/
|
|
*/
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
globalSetList.add(new GlobalSet(companyId,
|
|
ApiConstants.GlobalSetConstants.CLERK_ADD,
|
|
ApiConstants.GlobalSetConstants.CLERK_ADD,
|
|
- ApiConstants.GlobalSetConstants.ADD_AUTHORITY,
|
|
|
|
- ApiConstants.GlobalSetConstants.TYPE_LIFT));
|
|
|
|
|
|
+ ApiConstants.GlobalSetConstants.ADD_AUTHORITY));
|
|
this.saveBatch(globalSetList);
|
|
this.saveBatch(globalSetList);
|
|
}
|
|
}
|
|
}
|
|
}
|