A00004Service.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package com.miniframe.bisiness.system;
  2. import com.miniframe.core.ExecProcessFlow;
  3. import com.miniframe.generate.business.system.model.A00004BaseModel;
  4. import com.miniframe.service.LoginService;
  5. import java.util.Map;
  6. /**
  7. * 基础系统,“系统登出”逻辑处理(重新生成不覆盖)。
  8. */
  9. public class A00004Service extends A00004BaseModel implements ExecProcessFlow {
  10. private static final long serialVersionUID = -7051358269847459502L;
  11. /**
  12. * 基础系统,“系统登出”业务核心处理
  13. */
  14. public void transExecute() throws Exception {
  15. try {
  16. LoginService.LoginOut(this.getA_systemhead().getClientToken());
  17. }catch (Exception e){}
  18. }
  19. /**
  20. * 基础系统,“系统登出”业务前处理
  21. */
  22. public void preTransFlow() throws Exception {
  23. this.validater();
  24. }
  25. /**
  26. * 基础系统,“系统登出”业务后处理
  27. */
  28. public void afterTransFlow() throws Exception {
  29. }
  30. /**
  31. * 基础系统,“系统登出”逻辑入口处理方法
  32. */
  33. @SuppressWarnings("rawtypes")
  34. @Override
  35. public Map execute(Map vars) throws Exception {
  36. this.setTransMap(vars);
  37. preTransFlow();// 执行业务开始的规则检查和校验
  38. transExecute();// 执行核心业务段
  39. afterTransFlow();// 执行核心逻辑完成后的收尾逻辑
  40. return this.getTransMap();
  41. }
  42. }