|
|
@@ -130,14 +130,14 @@ public class StaffService extends BaseService<Staff> {
|
|
|
Integer cpId = authUtils.getStaff().getCpId();
|
|
|
staffQuery.setCpId(cpId);
|
|
|
}
|
|
|
-// Map<String,Object> map = new HashMap<>();
|
|
|
-// map.put("grade_code","STD");
|
|
|
-// map.put("end_date","2099-09-01");
|
|
|
-// map.put("web_max_num",1);
|
|
|
-// map.put("wx_max_num",1);
|
|
|
-// String s1 = JSON.toJSONString(map);
|
|
|
-// // 加密
|
|
|
-// String s = AESUtil.aesEncrypt(s1);
|
|
|
+ Map<String,Object> map = new HashMap<>();
|
|
|
+ map.put("grade_code","STD");
|
|
|
+ map.put("end_date","2024-06-06");
|
|
|
+ map.put("web_max_num",10);
|
|
|
+ map.put("wx_max_num",10);
|
|
|
+ String s1 = JSON.toJSONString(map);
|
|
|
+ // 加密
|
|
|
+ String s = AESUtil.aesEncrypt(s1);
|
|
|
// // 解密
|
|
|
// Map<String,Object> ss = JSON.parseObject(AESUtil.desEncrypt(s),Map.class) ;
|
|
|
return super.mergeListWithCount(staffQuery, staffMapper.selectByCond(staffQuery),
|