Example #1
0
 /** 查询出有参数的数据规则 */
 @Test
 public void testGetRuleParam() {
   List<DataRule> dataRules = staffingService.getRuleParam("00", "admin");
   for (DataRule dr : dataRules) {
     System.out.println(dr.getDataRuleID());
   }
 }
Example #2
0
 /** 查询用户权限 */
 @Test
 public void testFindDataRuleByDataRuleId() {
   DataRule dr = staffingService.findDataRuleByDataRuleId("queryRuleAccordCompany");
   Assert.assertEquals("queryRuleAccordCompany", dr.getDataRuleID());
 }