|
@@ -0,0 +1,31 @@ |
|
|
|
|
|
package cc.smtweb.system.bpm.web.sys.user.userGroup; |
|
|
|
|
|
|
|
|
|
|
|
import cc.smtweb.framework.core.annotation.SwService; |
|
|
|
|
|
import cc.smtweb.framework.core.mvc.service.AbstractHandler; |
|
|
|
|
|
import cc.smtweb.system.bpm.web.engine.dynPage.DynPageService; |
|
|
|
|
|
import cc.smtweb.system.bpm.web.sys.user.menu.MenuHandler; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Created by zhenggm at 2022-08-03 17:21:52 |
|
|
|
|
|
* 页面【[用户分组]的服务类 |
|
|
|
|
|
*/ |
|
|
|
|
|
@SwService |
|
|
|
|
|
public class UserGroupService extends DynPageService { |
|
|
|
|
|
//public final static String TYPE_DEMO = "demo"; |
|
|
|
|
|
@Override |
|
|
|
|
|
protected AbstractHandler createHandler(String type) { |
|
|
|
|
|
switch (type) { |
|
|
|
|
|
case TYPE_COMBO: |
|
|
|
|
|
return new UserGroupComboHandler(); |
|
|
|
|
|
} |
|
|
|
|
|
return super.createHandler(type); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* demo |
|
|
|
|
|
//自定义 |
|
|
|
|
|
public R demo(@SwBody SwMap params, UserSession us) { |
|
|
|
|
|
return pageHandler(params, us, TYPE_DEMO, handler -> ((DemoHandler)handler).demo()); |
|
|
|
|
|
} |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
} |