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