HM0006Service.java 1.2 KB

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