Browse Source

工程和模版模块

huangxingxing 1 year ago
parent
commit
8f43fdc408
49 changed files with 2650 additions and 0 deletions
  1. 112 0
      generated/com/miniframe/generate/business/mdo/model/MDO0005BaseModel.java
  2. 112 0
      generated/com/miniframe/generate/business/mdo/model/MDO0006BaseModel.java
  3. 112 0
      generated/com/miniframe/generate/business/mdo/model/MDO0007BaseModel.java
  4. 99 0
      generated/com/miniframe/generate/comm/httpmdoapater/MDO0005Client.java
  5. 99 0
      generated/com/miniframe/generate/comm/httpmdoapater/MDO0006Client.java
  6. 99 0
      generated/com/miniframe/generate/comm/httpmdoapater/MDO0007Client.java
  7. 51 0
      generated/com/miniframe/generate/comm/mdo/A_MDO0005.java
  8. 90 0
      generated/com/miniframe/generate/comm/mdo/A_MDO0006.java
  9. 25 0
      generated/com/miniframe/generate/comm/mdo/A_MDO0007.java
  10. 39 0
      generated/com/miniframe/generate/comm/mdo/D_MDO0005.java
  11. 116 0
      generated/com/miniframe/generate/comm/mdo/D_MDO0005_ROWS_RECODE.java
  12. 12 0
      generated/com/miniframe/generate/comm/mdo/D_MDO0006.java
  13. 12 0
      generated/com/miniframe/generate/comm/mdo/D_MDO0007.java
  14. 28 0
      generated/validateform/a_mdo0004Form.xml
  15. 15 0
      generated/validateform/a_mdo0005Form.xml
  16. 25 0
      generated/validateform/a_mdo0006Form.xml
  17. 12 0
      generated/validateform/a_mdo0007Form.xml
  18. 22 0
      generated/validateform/d_mdo0005Form.xml
  19. 4 0
      generated/validator/resources_a_mdo0005Form_validator.properties
  20. 4 0
      generated/validator/resources_a_mdo0005Form_validator_zh_CN.properties
  21. 7 0
      generated/validator/resources_a_mdo0006Form_validator.properties
  22. 7 0
      generated/validator/resources_a_mdo0006Form_validator_zh_CN.properties
  23. 2 0
      generated/validator/resources_a_mdo0007Form_validator.properties
  24. 2 0
      generated/validator/resources_a_mdo0007Form_validator_zh_CN.properties
  25. 2 0
      generated/validator/resources_d_mdo0005Form_validator.properties
  26. 2 0
      generated/validator/resources_d_mdo0005Form_validator_zh_CN.properties
  27. 9 0
      generated/validator/resources_d_mdo0005_rows_recodeForm_validator.properties
  28. 9 0
      generated/validator/resources_d_mdo0005_rows_recodeForm_validator_zh_CN.properties
  29. 1 0
      generated/validator/resources_d_mdo0006Form_validator.properties
  30. 1 0
      generated/validator/resources_d_mdo0006Form_validator_zh_CN.properties
  31. 1 0
      generated/validator/resources_d_mdo0007Form_validator.properties
  32. 1 0
      generated/validator/resources_d_mdo0007Form_validator_zh_CN.properties
  33. 224 0
      modelsrc/com/miniframe/model/mdo/MdoMod.java
  34. 801 0
      modelsrc/com/miniframe/model/mdo/MdoModSQLBuilder.java
  35. 10 0
      modelsrc/com/miniframe/model/mdo/dao/MdoModMapper.java
  36. 50 0
      modelsrc/com/miniframe/model/mdo/xml/MdoModMapper.xml
  37. 96 0
      src/main/java/com/miniframe/bisiness/mdo/MDO0005Service.java
  38. 94 0
      src/main/java/com/miniframe/bisiness/mdo/MDO0006Service.java
  39. 58 0
      src/main/java/com/miniframe/bisiness/mdo/MDO0007Service.java
  40. 23 0
      src/main/java/com/miniframe/dbtransfer/MdoModDbTransfer.java
  41. 44 0
      src/test/java/com/miniframe/comm/httpmdoapater/MDO0005Test.java
  42. 44 0
      src/test/java/com/miniframe/comm/httpmdoapater/MDO0006Test.java
  43. 44 0
      src/test/java/com/miniframe/comm/httpmdoapater/MDO0007Test.java
  44. 4 0
      系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0005_A(模板查询).csv
  45. 11 0
      系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0005_D(模板查询).csv
  46. 8 0
      系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0006_A(模板添加修改).csv
  47. 2 0
      系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0006_D(模板添加修改).csv
  48. 3 0
      系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0007_A(模板删除).csv
  49. 2 0
      系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0007_D(模板删除).csv

+ 112 - 0
generated/com/miniframe/generate/business/mdo/model/MDO0005BaseModel.java

@@ -0,0 +1,112 @@
+package com.miniframe.generate.business.mdo.model;
+
+import java.util.Map;
+import java.io.IOException;
+import java.util.LinkedHashMap;
+import com.miniframe.core.BaseMapModel;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.core.ext.HttpMapFormater;
+import java.time.ZonedDateTime;
+import java.time.format.DateTimeFormatter;
+import com.miniframe.generate.global.AppGlobalVariableSysconfig;
+
+import com.miniframe.generate.comm.mdo.A_MDOHEAD;
+import com.miniframe.generate.comm.mdo.D_MDOHEAD;
+import com.miniframe.generate.comm.mdo.A_MDO0005;
+import com.miniframe.generate.comm.mdo.D_MDO0005;
+
+/**
+ * 系统服务,“模板查询”模型类(不要维护,重新生成将覆盖)。
+ */
+@SuppressWarnings({ "rawtypes", "unchecked" })
+public class MDO0005BaseModel extends BaseMapModel {
+
+	private static final long serialVersionUID = -1326184831746814093L;
+
+	A_MDOHEAD a_mdohead;//上行头
+	D_MDOHEAD d_mdohead;//下行头
+	A_MDO0005 a_mdo0005;//上行体
+	D_MDO0005 d_mdo0005;//下行体
+
+	public MDO0005BaseModel(){
+		a_mdohead=new A_MDOHEAD();
+		d_mdohead=new D_MDOHEAD();
+		a_mdo0005=new A_MDO0005();
+		d_mdo0005=new D_MDO0005();
+	}
+
+	public void validater() throws Exception {
+		this.a_mdohead.validater();
+		this.a_mdo0005.validater();
+	}
+
+	public void setTransMap(Map map) throws Exception {
+		Map headMap = HttpMapFormater.format(map, A_MDOHEAD.class);
+		this.a_mdohead = UtilTools.map2Obj(headMap, A_MDOHEAD.class);
+		Map bodyMap = HttpMapFormater.format(map, A_MDO0005.class);
+		this.a_mdo0005 = UtilTools.map2Obj(bodyMap, A_MDO0005.class);
+	}
+
+	public Map getTransMap() throws Exception {
+		Map reMap = new LinkedHashMap();
+
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getTransCode())){
+			(this.d_mdohead).setTransCode((this.a_mdohead).getTransCode());
+		}
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getChannelNo())){
+			(this.d_mdohead).setChannelNo((this.a_mdohead).getChannelNo());
+		}
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getUserId())){
+			(this.d_mdohead).setUserId((this.a_mdohead).getUserId());
+		}
+        if(UtilTools.isNullOrBlank((this.d_mdohead).getTransTime())){
+            (this.d_mdohead).setTransTime(DateTimeFormatter.ofPattern(AppGlobalVariableSysconfig.DATETIMEFORMAT).format(ZonedDateTime.now()));
+        }
+
+		reMap.putAll(UtilTools.obj2Map(this.d_mdohead));
+		reMap.putAll(UtilTools.obj2Map(this.d_mdo0005));
+
+		return reMap;
+	}
+
+	public A_MDOHEAD getA_mdohead() {
+		return this.a_mdohead;
+	}
+
+	public void setA_mdohead(A_MDOHEAD a_mdohead) {
+		this.a_mdohead=a_mdohead;
+	}
+
+	public D_MDOHEAD getD_mdohead() {
+		return d_mdohead;
+	}
+
+	public void setD_mdohead(D_MDOHEAD d_mdohead) {
+		this.d_mdohead=d_mdohead;
+	}
+
+	public A_MDO0005 getA_mdo0005() {
+		return a_mdo0005;
+	}
+
+	public void setA_mdo0005(A_MDO0005 a_mdo0005) {
+		this.a_mdo0005=a_mdo0005;
+	}
+
+	public D_MDO0005 getD_mdo0005() {
+		return this.d_mdo0005;
+	}
+
+	public void setD_mdo0005(D_MDO0005 d_mdo0005) {
+		this.d_mdo0005=d_mdo0005;
+	}
+
+	@Override
+	public String toString() {
+		try {
+			return UtilTools.obj2Json(this,true);
+		} catch (IOException e) {
+			return "";
+		}
+	}
+}

+ 112 - 0
generated/com/miniframe/generate/business/mdo/model/MDO0006BaseModel.java

@@ -0,0 +1,112 @@
+package com.miniframe.generate.business.mdo.model;
+
+import java.util.Map;
+import java.io.IOException;
+import java.util.LinkedHashMap;
+import com.miniframe.core.BaseMapModel;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.core.ext.HttpMapFormater;
+import java.time.ZonedDateTime;
+import java.time.format.DateTimeFormatter;
+import com.miniframe.generate.global.AppGlobalVariableSysconfig;
+
+import com.miniframe.generate.comm.mdo.A_MDOHEAD;
+import com.miniframe.generate.comm.mdo.D_MDOHEAD;
+import com.miniframe.generate.comm.mdo.A_MDO0006;
+import com.miniframe.generate.comm.mdo.D_MDO0006;
+
+/**
+ * 系统服务,“模板添加修改”模型类(不要维护,重新生成将覆盖)。
+ */
+@SuppressWarnings({ "rawtypes", "unchecked" })
+public class MDO0006BaseModel extends BaseMapModel {
+
+	private static final long serialVersionUID = -1326184831746814093L;
+
+	A_MDOHEAD a_mdohead;//上行头
+	D_MDOHEAD d_mdohead;//下行头
+	A_MDO0006 a_mdo0006;//上行体
+	D_MDO0006 d_mdo0006;//下行体
+
+	public MDO0006BaseModel(){
+		a_mdohead=new A_MDOHEAD();
+		d_mdohead=new D_MDOHEAD();
+		a_mdo0006=new A_MDO0006();
+		d_mdo0006=new D_MDO0006();
+	}
+
+	public void validater() throws Exception {
+		this.a_mdohead.validater();
+		this.a_mdo0006.validater();
+	}
+
+	public void setTransMap(Map map) throws Exception {
+		Map headMap = HttpMapFormater.format(map, A_MDOHEAD.class);
+		this.a_mdohead = UtilTools.map2Obj(headMap, A_MDOHEAD.class);
+		Map bodyMap = HttpMapFormater.format(map, A_MDO0006.class);
+		this.a_mdo0006 = UtilTools.map2Obj(bodyMap, A_MDO0006.class);
+	}
+
+	public Map getTransMap() throws Exception {
+		Map reMap = new LinkedHashMap();
+
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getTransCode())){
+			(this.d_mdohead).setTransCode((this.a_mdohead).getTransCode());
+		}
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getChannelNo())){
+			(this.d_mdohead).setChannelNo((this.a_mdohead).getChannelNo());
+		}
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getUserId())){
+			(this.d_mdohead).setUserId((this.a_mdohead).getUserId());
+		}
+        if(UtilTools.isNullOrBlank((this.d_mdohead).getTransTime())){
+            (this.d_mdohead).setTransTime(DateTimeFormatter.ofPattern(AppGlobalVariableSysconfig.DATETIMEFORMAT).format(ZonedDateTime.now()));
+        }
+
+		reMap.putAll(UtilTools.obj2Map(this.d_mdohead));
+		reMap.putAll(UtilTools.obj2Map(this.d_mdo0006));
+
+		return reMap;
+	}
+
+	public A_MDOHEAD getA_mdohead() {
+		return this.a_mdohead;
+	}
+
+	public void setA_mdohead(A_MDOHEAD a_mdohead) {
+		this.a_mdohead=a_mdohead;
+	}
+
+	public D_MDOHEAD getD_mdohead() {
+		return d_mdohead;
+	}
+
+	public void setD_mdohead(D_MDOHEAD d_mdohead) {
+		this.d_mdohead=d_mdohead;
+	}
+
+	public A_MDO0006 getA_mdo0006() {
+		return a_mdo0006;
+	}
+
+	public void setA_mdo0006(A_MDO0006 a_mdo0006) {
+		this.a_mdo0006=a_mdo0006;
+	}
+
+	public D_MDO0006 getD_mdo0006() {
+		return this.d_mdo0006;
+	}
+
+	public void setD_mdo0006(D_MDO0006 d_mdo0006) {
+		this.d_mdo0006=d_mdo0006;
+	}
+
+	@Override
+	public String toString() {
+		try {
+			return UtilTools.obj2Json(this,true);
+		} catch (IOException e) {
+			return "";
+		}
+	}
+}

+ 112 - 0
generated/com/miniframe/generate/business/mdo/model/MDO0007BaseModel.java

@@ -0,0 +1,112 @@
+package com.miniframe.generate.business.mdo.model;
+
+import java.util.Map;
+import java.io.IOException;
+import java.util.LinkedHashMap;
+import com.miniframe.core.BaseMapModel;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.core.ext.HttpMapFormater;
+import java.time.ZonedDateTime;
+import java.time.format.DateTimeFormatter;
+import com.miniframe.generate.global.AppGlobalVariableSysconfig;
+
+import com.miniframe.generate.comm.mdo.A_MDOHEAD;
+import com.miniframe.generate.comm.mdo.D_MDOHEAD;
+import com.miniframe.generate.comm.mdo.A_MDO0007;
+import com.miniframe.generate.comm.mdo.D_MDO0007;
+
+/**
+ * 系统服务,“模板删除”模型类(不要维护,重新生成将覆盖)。
+ */
+@SuppressWarnings({ "rawtypes", "unchecked" })
+public class MDO0007BaseModel extends BaseMapModel {
+
+	private static final long serialVersionUID = -1326184831746814093L;
+
+	A_MDOHEAD a_mdohead;//上行头
+	D_MDOHEAD d_mdohead;//下行头
+	A_MDO0007 a_mdo0007;//上行体
+	D_MDO0007 d_mdo0007;//下行体
+
+	public MDO0007BaseModel(){
+		a_mdohead=new A_MDOHEAD();
+		d_mdohead=new D_MDOHEAD();
+		a_mdo0007=new A_MDO0007();
+		d_mdo0007=new D_MDO0007();
+	}
+
+	public void validater() throws Exception {
+		this.a_mdohead.validater();
+		this.a_mdo0007.validater();
+	}
+
+	public void setTransMap(Map map) throws Exception {
+		Map headMap = HttpMapFormater.format(map, A_MDOHEAD.class);
+		this.a_mdohead = UtilTools.map2Obj(headMap, A_MDOHEAD.class);
+		Map bodyMap = HttpMapFormater.format(map, A_MDO0007.class);
+		this.a_mdo0007 = UtilTools.map2Obj(bodyMap, A_MDO0007.class);
+	}
+
+	public Map getTransMap() throws Exception {
+		Map reMap = new LinkedHashMap();
+
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getTransCode())){
+			(this.d_mdohead).setTransCode((this.a_mdohead).getTransCode());
+		}
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getChannelNo())){
+			(this.d_mdohead).setChannelNo((this.a_mdohead).getChannelNo());
+		}
+		if(UtilTools.isNullOrBlank((this.d_mdohead).getUserId())){
+			(this.d_mdohead).setUserId((this.a_mdohead).getUserId());
+		}
+        if(UtilTools.isNullOrBlank((this.d_mdohead).getTransTime())){
+            (this.d_mdohead).setTransTime(DateTimeFormatter.ofPattern(AppGlobalVariableSysconfig.DATETIMEFORMAT).format(ZonedDateTime.now()));
+        }
+
+		reMap.putAll(UtilTools.obj2Map(this.d_mdohead));
+		reMap.putAll(UtilTools.obj2Map(this.d_mdo0007));
+
+		return reMap;
+	}
+
+	public A_MDOHEAD getA_mdohead() {
+		return this.a_mdohead;
+	}
+
+	public void setA_mdohead(A_MDOHEAD a_mdohead) {
+		this.a_mdohead=a_mdohead;
+	}
+
+	public D_MDOHEAD getD_mdohead() {
+		return d_mdohead;
+	}
+
+	public void setD_mdohead(D_MDOHEAD d_mdohead) {
+		this.d_mdohead=d_mdohead;
+	}
+
+	public A_MDO0007 getA_mdo0007() {
+		return a_mdo0007;
+	}
+
+	public void setA_mdo0007(A_MDO0007 a_mdo0007) {
+		this.a_mdo0007=a_mdo0007;
+	}
+
+	public D_MDO0007 getD_mdo0007() {
+		return this.d_mdo0007;
+	}
+
+	public void setD_mdo0007(D_MDO0007 d_mdo0007) {
+		this.d_mdo0007=d_mdo0007;
+	}
+
+	@Override
+	public String toString() {
+		try {
+			return UtilTools.obj2Json(this,true);
+		} catch (IOException e) {
+			return "";
+		}
+	}
+}

+ 99 - 0
generated/com/miniframe/generate/comm/httpmdoapater/MDO0005Client.java

@@ -0,0 +1,99 @@
+package com.miniframe.generate.comm.httpmdoapater;
+
+import com.miniframe.spring.httpclient.MFHttpRespInfo;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+import com.miniframe.core.Transmitter;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.generate.comm.mdo.D_MDO0005;
+import com.miniframe.generate.comm.mdo.D_MDOHEAD;
+
+import com.miniframe.generate.business.mdo.model.MDO0005BaseModel;
+
+public class MDO0005Client {
+
+	private static final Logger logger = LoggerFactory.getLogger(MDO0005Client.class);
+	private MFHttpRespInfo respInfo;
+
+	public MFHttpRespInfo getRespInfo(){
+		return respInfo;
+	}
+
+	/**
+	 * 调用 [系统服务->模板查询((MDO0005)]的通讯接口
+	 * @param model 接口模型
+	 * @param extMap 扩展输入
+	 * @param url 请求地址
+	 * @return model 接口模型
+	 * @throws Exception
+	 */
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0005BaseModel execute(MDO0005BaseModel model,final Map extMap,final String url) throws Exception {
+		this.executeToRespInfo(model,extMap,url);
+		return model;
+	}
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0005BaseModel execute(MDO0005BaseModel model,final Map extMap) throws Exception {
+		this.executeToRespInfo(model,extMap,null);
+		return model;
+	}
+
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MFHttpRespInfo executeToRespInfo(MDO0005BaseModel model,final Map extMap,final String url) throws Exception {
+		if (logger.isDebugEnabled()) {
+			logger.debug("execute(MDO0005BaseModel) - start");
+		}
+
+		if(UtilTools.isNullOrBlank(model.getA_mdohead().getTransCode())){
+			model.getA_mdohead().setTransCode("MDO0005");
+		}
+
+		Map inMap = new LinkedHashMap();
+		inMap.putAll(UtilTools.obj2Map(model.getA_mdohead()));
+		inMap.putAll(UtilTools.obj2Map(model.getA_mdo0005()));
+		if(extMap!=null && extMap.size()>0){
+			inMap.putAll(extMap);
+		}
+
+		Transmitter httpmdoApater = (Transmitter) UtilTools.getBean("httpmdoApater");
+		MFHttpRespInfo respInfo;
+		if(UtilTools.isNotNullAndBlank(url)){
+			respInfo = httpmdoApater.doPostDataToRespInfo(inMap,url);
+		}else{
+			respInfo = httpmdoApater.doPostDataToRespInfo(inMap);
+		}
+
+		if(respInfo!=null) {
+			Map outMap=respInfo.getParamMap();
+			D_MDOHEAD d_mdohead =  UtilTools.map2Obj(outMap, D_MDOHEAD.class);
+			D_MDO0005 d_mdo0005 =  UtilTools.map2Obj(outMap, D_MDO0005.class);
+			model.setD_mdohead(d_mdohead);
+			model.setD_mdo0005(d_mdo0005);
+
+
+		}
+
+		if (logger.isDebugEnabled()) {
+			logger.debug("execute(MDO0005BaseModel) - end");
+		}
+
+        this.respInfo=respInfo;
+
+		return respInfo;
+	}
+
+
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0005BaseModel execute(MDO0005BaseModel model) throws Exception {
+		return this.execute(model,null,null);
+	}
+
+
+}

+ 99 - 0
generated/com/miniframe/generate/comm/httpmdoapater/MDO0006Client.java

@@ -0,0 +1,99 @@
+package com.miniframe.generate.comm.httpmdoapater;
+
+import com.miniframe.spring.httpclient.MFHttpRespInfo;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+import com.miniframe.core.Transmitter;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.generate.comm.mdo.D_MDO0006;
+import com.miniframe.generate.comm.mdo.D_MDOHEAD;
+
+import com.miniframe.generate.business.mdo.model.MDO0006BaseModel;
+
+public class MDO0006Client {
+
+	private static final Logger logger = LoggerFactory.getLogger(MDO0006Client.class);
+	private MFHttpRespInfo respInfo;
+
+	public MFHttpRespInfo getRespInfo(){
+		return respInfo;
+	}
+
+	/**
+	 * 调用 [系统服务->模板添加修改((MDO0006)]的通讯接口
+	 * @param model 接口模型
+	 * @param extMap 扩展输入
+	 * @param url 请求地址
+	 * @return model 接口模型
+	 * @throws Exception
+	 */
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0006BaseModel execute(MDO0006BaseModel model,final Map extMap,final String url) throws Exception {
+		this.executeToRespInfo(model,extMap,url);
+		return model;
+	}
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0006BaseModel execute(MDO0006BaseModel model,final Map extMap) throws Exception {
+		this.executeToRespInfo(model,extMap,null);
+		return model;
+	}
+
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MFHttpRespInfo executeToRespInfo(MDO0006BaseModel model,final Map extMap,final String url) throws Exception {
+		if (logger.isDebugEnabled()) {
+			logger.debug("execute(MDO0006BaseModel) - start");
+		}
+
+		if(UtilTools.isNullOrBlank(model.getA_mdohead().getTransCode())){
+			model.getA_mdohead().setTransCode("MDO0006");
+		}
+
+		Map inMap = new LinkedHashMap();
+		inMap.putAll(UtilTools.obj2Map(model.getA_mdohead()));
+		inMap.putAll(UtilTools.obj2Map(model.getA_mdo0006()));
+		if(extMap!=null && extMap.size()>0){
+			inMap.putAll(extMap);
+		}
+
+		Transmitter httpmdoApater = (Transmitter) UtilTools.getBean("httpmdoApater");
+		MFHttpRespInfo respInfo;
+		if(UtilTools.isNotNullAndBlank(url)){
+			respInfo = httpmdoApater.doPostDataToRespInfo(inMap,url);
+		}else{
+			respInfo = httpmdoApater.doPostDataToRespInfo(inMap);
+		}
+
+		if(respInfo!=null) {
+			Map outMap=respInfo.getParamMap();
+			D_MDOHEAD d_mdohead =  UtilTools.map2Obj(outMap, D_MDOHEAD.class);
+			D_MDO0006 d_mdo0006 =  UtilTools.map2Obj(outMap, D_MDO0006.class);
+			model.setD_mdohead(d_mdohead);
+			model.setD_mdo0006(d_mdo0006);
+
+
+		}
+
+		if (logger.isDebugEnabled()) {
+			logger.debug("execute(MDO0006BaseModel) - end");
+		}
+
+        this.respInfo=respInfo;
+
+		return respInfo;
+	}
+
+
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0006BaseModel execute(MDO0006BaseModel model) throws Exception {
+		return this.execute(model,null,null);
+	}
+
+
+}

+ 99 - 0
generated/com/miniframe/generate/comm/httpmdoapater/MDO0007Client.java

@@ -0,0 +1,99 @@
+package com.miniframe.generate.comm.httpmdoapater;
+
+import com.miniframe.spring.httpclient.MFHttpRespInfo;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+import com.miniframe.core.Transmitter;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.generate.comm.mdo.D_MDO0007;
+import com.miniframe.generate.comm.mdo.D_MDOHEAD;
+
+import com.miniframe.generate.business.mdo.model.MDO0007BaseModel;
+
+public class MDO0007Client {
+
+	private static final Logger logger = LoggerFactory.getLogger(MDO0007Client.class);
+	private MFHttpRespInfo respInfo;
+
+	public MFHttpRespInfo getRespInfo(){
+		return respInfo;
+	}
+
+	/**
+	 * 调用 [系统服务->模板删除((MDO0007)]的通讯接口
+	 * @param model 接口模型
+	 * @param extMap 扩展输入
+	 * @param url 请求地址
+	 * @return model 接口模型
+	 * @throws Exception
+	 */
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0007BaseModel execute(MDO0007BaseModel model,final Map extMap,final String url) throws Exception {
+		this.executeToRespInfo(model,extMap,url);
+		return model;
+	}
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0007BaseModel execute(MDO0007BaseModel model,final Map extMap) throws Exception {
+		this.executeToRespInfo(model,extMap,null);
+		return model;
+	}
+
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MFHttpRespInfo executeToRespInfo(MDO0007BaseModel model,final Map extMap,final String url) throws Exception {
+		if (logger.isDebugEnabled()) {
+			logger.debug("execute(MDO0007BaseModel) - start");
+		}
+
+		if(UtilTools.isNullOrBlank(model.getA_mdohead().getTransCode())){
+			model.getA_mdohead().setTransCode("MDO0007");
+		}
+
+		Map inMap = new LinkedHashMap();
+		inMap.putAll(UtilTools.obj2Map(model.getA_mdohead()));
+		inMap.putAll(UtilTools.obj2Map(model.getA_mdo0007()));
+		if(extMap!=null && extMap.size()>0){
+			inMap.putAll(extMap);
+		}
+
+		Transmitter httpmdoApater = (Transmitter) UtilTools.getBean("httpmdoApater");
+		MFHttpRespInfo respInfo;
+		if(UtilTools.isNotNullAndBlank(url)){
+			respInfo = httpmdoApater.doPostDataToRespInfo(inMap,url);
+		}else{
+			respInfo = httpmdoApater.doPostDataToRespInfo(inMap);
+		}
+
+		if(respInfo!=null) {
+			Map outMap=respInfo.getParamMap();
+			D_MDOHEAD d_mdohead =  UtilTools.map2Obj(outMap, D_MDOHEAD.class);
+			D_MDO0007 d_mdo0007 =  UtilTools.map2Obj(outMap, D_MDO0007.class);
+			model.setD_mdohead(d_mdohead);
+			model.setD_mdo0007(d_mdo0007);
+
+
+		}
+
+		if (logger.isDebugEnabled()) {
+			logger.debug("execute(MDO0007BaseModel) - end");
+		}
+
+        this.respInfo=respInfo;
+
+		return respInfo;
+	}
+
+
+
+	@SuppressWarnings({ "rawtypes", "unchecked" })
+	public MDO0007BaseModel execute(MDO0007BaseModel model) throws Exception {
+		return this.execute(model,null,null);
+	}
+
+
+}

+ 51 - 0
generated/com/miniframe/generate/comm/mdo/A_MDO0005.java

@@ -0,0 +1,51 @@
+/**
+ * 系统服务
+ */
+package com.miniframe.generate.comm.mdo;
+import com.miniframe.core.BaseMapModel;
+import java.io.Serializable;
+/**
+ * 模板查询
+ */
+public class A_MDO0005 extends BaseMapModel implements Serializable {
+	private static final long serialVersionUID = -1463838678425832212L;
+	int count;//每页显示条数
+	/**
+	 *每页显示条数
+	 */
+	public void setCount(int count) {
+		this.count=count;
+	}
+	/**
+	 *每页显示条数
+	 */
+	public int getCount() {
+		return this.count;
+	}
+	int page;//当前页数
+	/**
+	 *当前页数
+	 */
+	public void setPage(int page) {
+		this.page=page;
+	}
+	/**
+	 *当前页数
+	 */
+	public int getPage() {
+		return this.page;
+	}
+	String searchtag;//查询条件
+	/**
+	 *查询条件
+	 */
+	public void setSearchtag(String searchtag) {
+		this.searchtag=searchtag;
+	}
+	/**
+	 *查询条件
+	 */
+	public String getSearchtag() {
+		return this.searchtag;
+	}
+}

+ 90 - 0
generated/com/miniframe/generate/comm/mdo/A_MDO0006.java

@@ -0,0 +1,90 @@
+/**
+ * 系统服务
+ */
+package com.miniframe.generate.comm.mdo;
+import com.miniframe.core.BaseMapModel;
+import java.io.Serializable;
+/**
+ * 模板添加修改
+ */
+public class A_MDO0006 extends BaseMapModel implements Serializable {
+	private static final long serialVersionUID = -1463838678425832212L;
+	String mid;//模版ID
+	/**
+	 *模版ID
+	 */
+	public void setMid(String mid) {
+		this.mid=mid;
+	}
+	/**
+	 *模版ID
+	 */
+	public String getMid() {
+		return this.mid;
+	}
+	String name;//名称
+	/**
+	 *名称
+	 */
+	public void setName(String name) {
+		this.name=name;
+	}
+	/**
+	 *名称
+	 */
+	public String getName() {
+		return this.name;
+	}
+	String remark;//描述
+	/**
+	 *描述
+	 */
+	public void setRemark(String remark) {
+		this.remark=remark;
+	}
+	/**
+	 *描述
+	 */
+	public String getRemark() {
+		return this.remark;
+	}
+	String image;//图片base64
+	/**
+	 *图片base64
+	 */
+	public void setImage(String image) {
+		this.image=image;
+	}
+	/**
+	 *图片base64
+	 */
+	public String getImage() {
+		return this.image;
+	}
+	String isshare;//
+	/**
+	 *
+	 */
+	public void setIsshare(String isshare) {
+		this.isshare=isshare;
+	}
+	/**
+	 *
+	 */
+	public String getIsshare() {
+		return this.isshare;
+	}
+	String flow;//流程图
+	/**
+	 *流程图
+	 */
+	public void setFlow(String flow) {
+		this.flow=flow;
+	}
+	/**
+	 *流程图
+	 */
+	public String getFlow() {
+		return this.flow;
+	}
+}

+ 25 - 0
generated/com/miniframe/generate/comm/mdo/A_MDO0007.java

@@ -0,0 +1,25 @@
+/**
+ * 系统服务
+ */
+package com.miniframe.generate.comm.mdo;
+import com.miniframe.core.BaseMapModel;
+import java.io.Serializable;
+/**
+ * 模板删除
+ */
+public class A_MDO0007 extends BaseMapModel implements Serializable {
+	private static final long serialVersionUID = -1463838678425832212L;
+	String mid;//模版ID
+	/**
+	 *模版ID
+	 */
+	public void setMid(String mid) {
+		this.mid=mid;
+	}
+	/**
+	 *模版ID
+	 */
+	public String getMid() {
+		return this.mid;
+	}
+}

+ 39 - 0
generated/com/miniframe/generate/comm/mdo/D_MDO0005.java

@@ -0,0 +1,39 @@
+/**
+ * 系统服务
+ */
+package com.miniframe.generate.comm.mdo;
+import com.miniframe.core.BaseMapModel;
+import java.io.Serializable;
+import java.util.*;
+/**
+ * 模板查询
+ */
+public class D_MDO0005 extends BaseMapModel implements Serializable {
+	private static final long serialVersionUID = -1463838678425832212L;
+	int total;//总数
+	/**
+	 *总数
+	 */
+	public void setTotal(int total) {
+		this.total=total;
+	}
+	/**
+	 *总数
+	 */
+	public int getTotal() {
+		return this.total;
+	}
+	List <D_MDO0005_ROWS_RECODE> rows;//数据
+	/**
+	 *数据
+	 */
+	public void setRows(List <D_MDO0005_ROWS_RECODE> rows) {
+		this.rows=rows;
+	}
+	/**
+	 *数据
+	 */
+	public List <D_MDO0005_ROWS_RECODE> getRows() {
+		return this.rows;
+	}
+}

+ 116 - 0
generated/com/miniframe/generate/comm/mdo/D_MDO0005_ROWS_RECODE.java

@@ -0,0 +1,116 @@
+/**
+ * 系统服务
+ */
+package com.miniframe.generate.comm.mdo;
+import com.miniframe.core.BaseMapModel;
+import java.io.Serializable;
+/**
+ * 模板查询->数据
+ */
+public class D_MDO0005_ROWS_RECODE extends BaseMapModel implements Serializable {
+	private static final long serialVersionUID = -1463838678425832212L;
+	String mid;//模版ID
+	/**
+	 *模版ID
+	 */
+	public void setMid(String mid) {
+		this.mid=mid;
+	}
+	/**
+	 *模版ID
+	 */
+	public String getMid() {
+		return this.mid;
+	}
+	String name;//名称
+	/**
+	 *名称
+	 */
+	public void setName(String name) {
+		this.name=name;
+	}
+	/**
+	 *名称
+	 */
+	public String getName() {
+		return this.name;
+	}
+	String remark;//描述
+	/**
+	 *描述
+	 */
+	public void setRemark(String remark) {
+		this.remark=remark;
+	}
+	/**
+	 *描述
+	 */
+	public String getRemark() {
+		return this.remark;
+	}
+	String image;//图片base64
+	/**
+	 *图片base64
+	 */
+	public void setImage(String image) {
+		this.image=image;
+	}
+	/**
+	 *图片base64
+	 */
+	public String getImage() {
+		return this.image;
+	}
+	String createtime;//创建时间
+	/**
+	 *创建时间
+	 */
+	public void setCreatetime(String createtime) {
+		this.createtime=createtime;
+	}
+	/**
+	 *创建时间
+	 */
+	public String getCreatetime() {
+		return this.createtime;
+	}
+	String updatetime;//更新时间
+	/**
+	 *更新时间
+	 */
+	public void setUpdatetime(String updatetime) {
+		this.updatetime=updatetime;
+	}
+	/**
+	 *更新时间
+	 */
+	public String getUpdatetime() {
+		return this.updatetime;
+	}
+	String isshare;//
+	/**
+	 *
+	 */
+	public void setIsshare(String isshare) {
+		this.isshare=isshare;
+	}
+	/**
+	 *
+	 */
+	public String getIsshare() {
+		return this.isshare;
+	}
+	String flow;//流程图
+	/**
+	 *流程图
+	 */
+	public void setFlow(String flow) {
+		this.flow=flow;
+	}
+	/**
+	 *流程图
+	 */
+	public String getFlow() {
+		return this.flow;
+	}
+}

+ 12 - 0
generated/com/miniframe/generate/comm/mdo/D_MDO0006.java

@@ -0,0 +1,12 @@
+/**
+ * 系统服务
+ */
+package com.miniframe.generate.comm.mdo;
+import com.miniframe.core.BaseMapModel;
+import java.io.Serializable;
+/**
+ * 模板添加修改
+ */
+public class D_MDO0006 extends BaseMapModel implements Serializable {
+	private static final long serialVersionUID = -1463838678425832212L;
+}

+ 12 - 0
generated/com/miniframe/generate/comm/mdo/D_MDO0007.java

@@ -0,0 +1,12 @@
+/**
+ * 系统服务
+ */
+package com.miniframe.generate.comm.mdo;
+import com.miniframe.core.BaseMapModel;
+import java.io.Serializable;
+/**
+ * 模板删除
+ */
+public class D_MDO0007 extends BaseMapModel implements Serializable {
+	private static final long serialVersionUID = -1463838678425832212L;
+}

+ 28 - 0
generated/validateform/a_mdo0004Form.xml

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
+<!-- 根据模板添加工程Form配置文件系统生成请勿修改,否则重新生成将覆盖 -->
+<form-validation>
+<formset>
+<form name="a_mdo0004Form">
+<field property="mid" depends="required">
+    <arg0 key="a_mdo0004.mid"/>
+</field>
+<field property="name" depends="required,maxlength">
+    <arg0 key="a_mdo0004.name"/>
+    <arg1 name="maxlength" key="${var:maxlength}"/>
+    <var>
+      <var-name>maxlength</var-name>
+      <var-value>1024</var-value>
+    </var>
+</field>
+<field property="remark" depends="maxlength">
+    <arg0 key="a_mdo0004.remark"/>
+    <arg1 name="maxlength" key="${var:maxlength}"/>
+    <var>
+      <var-name>maxlength</var-name>
+      <var-value>2048</var-value>
+    </var>
+</field>
+</form>
+</formset>
+</form-validation>

+ 15 - 0
generated/validateform/a_mdo0005Form.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
+<!-- 模板查询Form配置文件系统生成请勿修改,否则重新生成将覆盖 -->
+<form-validation>
+<formset>
+<form name="a_mdo0005Form">
+<field property="count" depends="required">
+    <arg0 key="a_mdo0005.count"/>
+</field>
+<field property="page" depends="required">
+    <arg0 key="a_mdo0005.page"/>
+</field>
+</form>
+</formset>
+</form-validation>

+ 25 - 0
generated/validateform/a_mdo0006Form.xml

@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
+<!-- 模板添加修改Form配置文件系统生成请勿修改,否则重新生成将覆盖 -->
+<form-validation>
+<formset>
+<form name="a_mdo0006Form">
+<field property="name" depends="required,maxlength">
+    <arg0 key="a_mdo0006.name"/>
+    <arg1 name="maxlength" key="${var:maxlength}"/>
+    <var>
+      <var-name>maxlength</var-name>
+      <var-value>1024</var-value>
+    </var>
+</field>
+<field property="remark" depends="maxlength">
+    <arg0 key="a_mdo0006.remark"/>
+    <arg1 name="maxlength" key="${var:maxlength}"/>
+    <var>
+      <var-name>maxlength</var-name>
+      <var-value>2048</var-value>
+    </var>
+</field>
+</form>
+</formset>
+</form-validation>

+ 12 - 0
generated/validateform/a_mdo0007Form.xml

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
+<!-- 模板删除Form配置文件系统生成请勿修改,否则重新生成将覆盖 -->
+<form-validation>
+<formset>
+<form name="a_mdo0007Form">
+<field property="mid" depends="required">
+    <arg0 key="a_mdo0007.mid"/>
+</field>
+</form>
+</formset>
+</form-validation>

+ 22 - 0
generated/validateform/d_mdo0005Form.xml

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
+<!-- 模板查询Form配置文件系统生成请勿修改,否则重新生成将覆盖 -->
+<form-validation>
+<formset>
+<form name="d_mdo0005Form">
+<field property="total" depends="range">
+    <arg0 key="d_mdo0005.total"/>
+    <arg1 name="range" key="${var:max}"/>
+    <arg2 name="range" key="${var:min}"/>
+    <var>
+      <var-name>min</var-name>
+      <var-value>1</var-value>
+    </var>
+    <var>
+      <var-name>max</var-name>
+      <var-value>256</var-value>
+    </var>
+</field>
+</form>
+</formset>
+</form-validation>

+ 4 - 0
generated/validator/resources_a_mdo0005Form_validator.properties

@@ -0,0 +1,4 @@
+a_mdo0005.count = \u6BCF\u9875\u663E\u793A\u6761\u6570
+a_mdo0005.page = \u5F53\u524D\u9875\u6570
+a_mdo0005.searchtag = \u67E5\u8BE2\u6761\u4EF6
+a_mdo0005Form = true

+ 4 - 0
generated/validator/resources_a_mdo0005Form_validator_zh_CN.properties

@@ -0,0 +1,4 @@
+a_mdo0005.count = \u6BCF\u9875\u663E\u793A\u6761\u6570
+a_mdo0005.page = \u5F53\u524D\u9875\u6570
+a_mdo0005.searchtag = \u67E5\u8BE2\u6761\u4EF6
+a_mdo0005Form = true

+ 7 - 0
generated/validator/resources_a_mdo0006Form_validator.properties

@@ -0,0 +1,7 @@
+a_mdo0006.mid = \u6A21\u7248ID
+a_mdo0006.name = \u540D\u79F0
+a_mdo0006.remark = \u63CF\u8FF0
+a_mdo0006.image = \u56FE\u7247base64
+a_mdo0006.isshare = 
+a_mdo0006.flow = \u6D41\u7A0B\u56FE
+a_mdo0006Form = true

+ 7 - 0
generated/validator/resources_a_mdo0006Form_validator_zh_CN.properties

@@ -0,0 +1,7 @@
+a_mdo0006.mid = \u6A21\u7248ID
+a_mdo0006.name = \u540D\u79F0
+a_mdo0006.remark = \u63CF\u8FF0
+a_mdo0006.image = \u56FE\u7247base64
+a_mdo0006.isshare = 
+a_mdo0006.flow = \u6D41\u7A0B\u56FE
+a_mdo0006Form = true

+ 2 - 0
generated/validator/resources_a_mdo0007Form_validator.properties

@@ -0,0 +1,2 @@
+a_mdo0007.mid = \u6A21\u7248ID
+a_mdo0007Form = true

+ 2 - 0
generated/validator/resources_a_mdo0007Form_validator_zh_CN.properties

@@ -0,0 +1,2 @@
+a_mdo0007.mid = \u6A21\u7248ID
+a_mdo0007Form = true

+ 2 - 0
generated/validator/resources_d_mdo0005Form_validator.properties

@@ -0,0 +1,2 @@
+d_mdo0005.total = \u603B\u6570
+d_mdo0005Form = true

+ 2 - 0
generated/validator/resources_d_mdo0005Form_validator_zh_CN.properties

@@ -0,0 +1,2 @@
+d_mdo0005.total = \u603B\u6570
+d_mdo0005Form = true

+ 9 - 0
generated/validator/resources_d_mdo0005_rows_recodeForm_validator.properties

@@ -0,0 +1,9 @@
+d_mdo0005_rows_recode.mid = \u6A21\u7248ID
+d_mdo0005_rows_recode.name = \u540D\u79F0
+d_mdo0005_rows_recode.remark = \u63CF\u8FF0
+d_mdo0005_rows_recode.image = \u56FE\u7247base64
+d_mdo0005_rows_recode.createtime = \u521B\u5EFA\u65F6\u95F4
+d_mdo0005_rows_recode.updatetime = \u66F4\u65B0\u65F6\u95F4
+d_mdo0005_rows_recode.isshare = 
+d_mdo0005_rows_recode.flow = \u6D41\u7A0B\u56FE
+d_mdo0005_rows_recodeForm = true

+ 9 - 0
generated/validator/resources_d_mdo0005_rows_recodeForm_validator_zh_CN.properties

@@ -0,0 +1,9 @@
+d_mdo0005_rows_recode.mid = \u6A21\u7248ID
+d_mdo0005_rows_recode.name = \u540D\u79F0
+d_mdo0005_rows_recode.remark = \u63CF\u8FF0
+d_mdo0005_rows_recode.image = \u56FE\u7247base64
+d_mdo0005_rows_recode.createtime = \u521B\u5EFA\u65F6\u95F4
+d_mdo0005_rows_recode.updatetime = \u66F4\u65B0\u65F6\u95F4
+d_mdo0005_rows_recode.isshare = 
+d_mdo0005_rows_recode.flow = \u6D41\u7A0B\u56FE
+d_mdo0005_rows_recodeForm = true

+ 1 - 0
generated/validator/resources_d_mdo0006Form_validator.properties

@@ -0,0 +1 @@
+d_mdo0006Form = false

+ 1 - 0
generated/validator/resources_d_mdo0006Form_validator_zh_CN.properties

@@ -0,0 +1 @@
+d_mdo0006Form = false

+ 1 - 0
generated/validator/resources_d_mdo0007Form_validator.properties

@@ -0,0 +1 @@
+d_mdo0007Form = false

+ 1 - 0
generated/validator/resources_d_mdo0007Form_validator_zh_CN.properties

@@ -0,0 +1 @@
+d_mdo0007Form = false

+ 224 - 0
modelsrc/com/miniframe/model/mdo/MdoMod.java

@@ -0,0 +1,224 @@
+package com.miniframe.model.mdo;
+
+import com.miniframe.system.MiniserviceBaseModel;
+import java.io.Serializable;
+import java.util.Date;
+import javax.persistence.*;
+
+@Table(name = "mdo_mod")
+public class MdoMod extends MiniserviceBaseModel implements Serializable {
+    /**
+     * 模版ID
+     */
+    @Id
+    private String id;
+
+    /**
+     * 用户编码
+     */
+    private String uid;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 描述
+     */
+    private String remark;
+
+    /**
+     * 图片base64
+     */
+    private String image;
+
+    /**
+     * 创建时间
+
+     */
+    @Column(name = "create_time")
+    private Date createTime;
+
+    /**
+     * 更新时间
+
+     */
+    @Column(name = "update_time")
+    private Date updateTime;
+
+    private Short isshare;
+
+    /**
+     * 流程JSON
+     */
+    private String flow;
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 获取模版ID
+     *
+     * @return id - 模版ID
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * 设置模版ID
+     *
+     * @param id 模版ID
+     */
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    /**
+     * 获取用户编码
+     *
+     * @return uid - 用户编码
+     */
+    public String getUid() {
+        return uid;
+    }
+
+    /**
+     * 设置用户编码
+     *
+     * @param uid 用户编码
+     */
+    public void setUid(String uid) {
+        this.uid = uid == null ? null : uid.trim();
+    }
+
+    /**
+     * 获取名称
+     *
+     * @return name - 名称
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * 设置名称
+     *
+     * @param name 名称
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**
+     * 获取描述
+     *
+     * @return remark - 描述
+     */
+    public String getRemark() {
+        return remark;
+    }
+
+    /**
+     * 设置描述
+     *
+     * @param remark 描述
+     */
+    public void setRemark(String remark) {
+        this.remark = remark == null ? null : remark.trim();
+    }
+
+    /**
+     * 获取图片base64
+     *
+     * @return image - 图片base64
+     */
+    public String getImage() {
+        return image;
+    }
+
+    /**
+     * 设置图片base64
+     *
+     * @param image 图片base64
+     */
+    public void setImage(String image) {
+        this.image = image == null ? null : image.trim();
+    }
+
+    /**
+     * 获取创建时间
+
+     *
+     * @return create_time - 创建时间
+
+     */
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    /**
+     * 设置创建时间
+
+     *
+     * @param createTime 创建时间
+
+     */
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    /**
+     * 获取更新时间
+
+     *
+     * @return update_time - 更新时间
+
+     */
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    /**
+     * 设置更新时间
+
+     *
+     * @param updateTime 更新时间
+
+     */
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    /**
+     * @return isshare
+     */
+    public Short getIsshare() {
+        return isshare;
+    }
+
+    /**
+     * @param isshare
+     */
+    public void setIsshare(Short isshare) {
+        this.isshare = isshare;
+    }
+
+    /**
+     * 获取流程JSON
+     *
+     * @return flow - 流程JSON
+     */
+    public String getFlow() {
+        return flow;
+    }
+
+    /**
+     * 设置流程JSON
+     *
+     * @param flow 流程JSON
+     */
+    public void setFlow(String flow) {
+        this.flow = flow == null ? null : flow.trim();
+    }
+}

+ 801 - 0
modelsrc/com/miniframe/model/mdo/MdoModSQLBuilder.java

@@ -0,0 +1,801 @@
+package com.miniframe.model.mdo;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class MdoModSQLBuilder {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public MdoModSQLBuilder() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("id like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("id not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidIsNull() {
+            addCriterion("uid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidIsNotNull() {
+            addCriterion("uid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidEqualTo(String value) {
+            addCriterion("uid =", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidNotEqualTo(String value) {
+            addCriterion("uid <>", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidGreaterThan(String value) {
+            addCriterion("uid >", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidGreaterThanOrEqualTo(String value) {
+            addCriterion("uid >=", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidLessThan(String value) {
+            addCriterion("uid <", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidLessThanOrEqualTo(String value) {
+            addCriterion("uid <=", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidLike(String value) {
+            addCriterion("uid like", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidNotLike(String value) {
+            addCriterion("uid not like", value, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidIn(List<String> values) {
+            addCriterion("uid in", values, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidNotIn(List<String> values) {
+            addCriterion("uid not in", values, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidBetween(String value1, String value2) {
+            addCriterion("uid between", value1, value2, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUidNotBetween(String value1, String value2) {
+            addCriterion("uid not between", value1, value2, "uid");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNull() {
+            addCriterion("name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("name =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("name <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("name >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("name >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("name <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("name <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("name like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("name not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("name in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("name not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("name between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("name not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkIsNull() {
+            addCriterion("remark is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkIsNotNull() {
+            addCriterion("remark is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkEqualTo(String value) {
+            addCriterion("remark =", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotEqualTo(String value) {
+            addCriterion("remark <>", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkGreaterThan(String value) {
+            addCriterion("remark >", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
+            addCriterion("remark >=", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkLessThan(String value) {
+            addCriterion("remark <", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkLessThanOrEqualTo(String value) {
+            addCriterion("remark <=", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkLike(String value) {
+            addCriterion("remark like", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotLike(String value) {
+            addCriterion("remark not like", value, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkIn(List<String> values) {
+            addCriterion("remark in", values, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotIn(List<String> values) {
+            addCriterion("remark not in", values, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkBetween(String value1, String value2) {
+            addCriterion("remark between", value1, value2, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRemarkNotBetween(String value1, String value2) {
+            addCriterion("remark not between", value1, value2, "remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageIsNull() {
+            addCriterion("image is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageIsNotNull() {
+            addCriterion("image is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageEqualTo(String value) {
+            addCriterion("image =", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageNotEqualTo(String value) {
+            addCriterion("image <>", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageGreaterThan(String value) {
+            addCriterion("image >", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageGreaterThanOrEqualTo(String value) {
+            addCriterion("image >=", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageLessThan(String value) {
+            addCriterion("image <", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageLessThanOrEqualTo(String value) {
+            addCriterion("image <=", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageLike(String value) {
+            addCriterion("image like", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageNotLike(String value) {
+            addCriterion("image not like", value, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageIn(List<String> values) {
+            addCriterion("image in", values, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageNotIn(List<String> values) {
+            addCriterion("image not in", values, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageBetween(String value1, String value2) {
+            addCriterion("image between", value1, value2, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andImageNotBetween(String value1, String value2) {
+            addCriterion("image not between", value1, value2, "image");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeIsNull() {
+            addCriterion("create_time is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeIsNotNull() {
+            addCriterion("create_time is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeEqualTo(Date value) {
+            addCriterion("create_time =", value, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeNotEqualTo(Date value) {
+            addCriterion("create_time <>", value, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeGreaterThan(Date value) {
+            addCriterion("create_time >", value, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+            addCriterion("create_time >=", value, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeLessThan(Date value) {
+            addCriterion("create_time <", value, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+            addCriterion("create_time <=", value, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeIn(List<Date> values) {
+            addCriterion("create_time in", values, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeNotIn(List<Date> values) {
+            addCriterion("create_time not in", values, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeBetween(Date value1, Date value2) {
+            addCriterion("create_time between", value1, value2, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+            addCriterion("create_time not between", value1, value2, "createTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIsNull() {
+            addCriterion("update_time is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIsNotNull() {
+            addCriterion("update_time is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeEqualTo(Date value) {
+            addCriterion("update_time =", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotEqualTo(Date value) {
+            addCriterion("update_time <>", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThan(Date value) {
+            addCriterion("update_time >", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+            addCriterion("update_time >=", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThan(Date value) {
+            addCriterion("update_time <", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+            addCriterion("update_time <=", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIn(List<Date> values) {
+            addCriterion("update_time in", values, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotIn(List<Date> values) {
+            addCriterion("update_time not in", values, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+            addCriterion("update_time between", value1, value2, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+            addCriterion("update_time not between", value1, value2, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareIsNull() {
+            addCriterion("isshare is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareIsNotNull() {
+            addCriterion("isshare is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareEqualTo(Short value) {
+            addCriterion("isshare =", value, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareNotEqualTo(Short value) {
+            addCriterion("isshare <>", value, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareGreaterThan(Short value) {
+            addCriterion("isshare >", value, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareGreaterThanOrEqualTo(Short value) {
+            addCriterion("isshare >=", value, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareLessThan(Short value) {
+            addCriterion("isshare <", value, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareLessThanOrEqualTo(Short value) {
+            addCriterion("isshare <=", value, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareIn(List<Short> values) {
+            addCriterion("isshare in", values, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareNotIn(List<Short> values) {
+            addCriterion("isshare not in", values, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareBetween(Short value1, Short value2) {
+            addCriterion("isshare between", value1, value2, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andIsshareNotBetween(Short value1, Short value2) {
+            addCriterion("isshare not between", value1, value2, "isshare");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowIsNull() {
+            addCriterion("flow is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowIsNotNull() {
+            addCriterion("flow is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowEqualTo(String value) {
+            addCriterion("flow =", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowNotEqualTo(String value) {
+            addCriterion("flow <>", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowGreaterThan(String value) {
+            addCriterion("flow >", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowGreaterThanOrEqualTo(String value) {
+            addCriterion("flow >=", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowLessThan(String value) {
+            addCriterion("flow <", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowLessThanOrEqualTo(String value) {
+            addCriterion("flow <=", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowLike(String value) {
+            addCriterion("flow like", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowNotLike(String value) {
+            addCriterion("flow not like", value, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowIn(List<String> values) {
+            addCriterion("flow in", values, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowNotIn(List<String> values) {
+            addCriterion("flow not in", values, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowBetween(String value1, String value2) {
+            addCriterion("flow between", value1, value2, "flow");
+            return (Criteria) this;
+        }
+
+        public Criteria andFlowNotBetween(String value1, String value2) {
+            addCriterion("flow not between", value1, value2, "flow");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 10 - 0
modelsrc/com/miniframe/model/mdo/dao/MdoModMapper.java

@@ -0,0 +1,10 @@
+package com.miniframe.model.mdo.dao;
+
+import com.miniframe.model.mdo.MdoMod;
+import com.miniframe.model.mdo.MdoModSQLBuilder;
+import com.miniframe.spring.db.MFBaseMapper;
+import com.miniframe.system.MiniserviceBaseDao;
+
+public interface MdoModMapper extends MiniserviceBaseDao, MFBaseMapper<MdoMod> {
+    long countByExample(MdoModSQLBuilder example);
+}

+ 50 - 0
modelsrc/com/miniframe/model/mdo/xml/MdoModMapper.xml

@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.miniframe.model.mdo.dao.MdoModMapper">
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <select id="countByExample" parameterType="com.miniframe.model.mdo.MdoModSQLBuilder" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+    -->
+    select count(*) from mdo_mod
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <cache>
+    <!--
+      WARNING - @mbg.generated
+    -->
+  </cache>
+</mapper>

+ 96 - 0
src/main/java/com/miniframe/bisiness/mdo/MDO0005Service.java

@@ -0,0 +1,96 @@
+package com.miniframe.bisiness.mdo;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import com.miniframe.core.ExecProcessFlow;
+import com.miniframe.core.exception.BusinessException;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.generate.business.mdo.model.MDO0005BaseModel;
+import com.miniframe.generate.comm.mdo.D_MDO0001_ROWS_RECODE;
+import com.miniframe.generate.comm.mdo.D_MDO0005_ROWS_RECODE;
+import com.miniframe.model.mdo.MdoMod;
+import com.miniframe.model.mdo.MdoModSQLBuilder;
+import com.miniframe.model.mdo.dao.MdoModMapper;
+import com.miniframe.tools.XIDateTimeUtils;
+import com.miniframe.tools.XIUtils;
+import tk.mybatis.mapper.util.StringUtil;
+
+/**
+ * 西工大系统,“模版查询”逻辑处理(重新生成不覆盖)。
+ */
+public class MDO0005Service extends MDO0005BaseModel implements ExecProcessFlow {
+	
+	private static final long serialVersionUID = -7051358269847459502L;
+		
+	/**
+	 * 西工大系统,“模版查询”业务核心处理
+ 	 */
+	public void transExecute() throws Exception {
+		//每页显示条数
+		Integer size = this.getA_mdo0005().getCount();
+		//当前页数
+		Integer page = this.getA_mdo0005().getPage();
+		//查询条件
+		String searchtag = this.getA_mdo0005().getSearchtag();
+		String uid = this.getA_mdohead().getUserId();
+		if (StringUtil.isEmpty(uid)) {
+			throw new BusinessException("");
+		}
+
+		MdoModMapper moddao = UtilTools.getBean(MdoModMapper.class);
+		MdoModSQLBuilder sb = new MdoModSQLBuilder();
+		MdoModSQLBuilder.Criteria sc = sb.createCriteria();
+		sc.andUidEqualTo(uid);
+		int total = moddao.selectCountByExample(sb);
+
+		sb.setOrderByClause("create_time desc");
+		XIUtils.pageSet(page, size);
+
+		List<MdoMod> list = moddao.selectByExample(sb);
+		List<D_MDO0005_ROWS_RECODE> rows = new ArrayList<>();
+		for (MdoMod mod : list) {
+			D_MDO0005_ROWS_RECODE row = new D_MDO0005_ROWS_RECODE();
+			row.setCreatetime(XIDateTimeUtils.getStrFromDate(mod.getCreateTime()));
+			row.setUpdatetime(XIDateTimeUtils.getStrFromDate(mod.getUpdateTime()));
+			row.setName(mod.getName());
+			row.setFlow(mod.getFlow());
+			row.setMid(mod.getId());
+			row.setImage(mod.getImage());
+			row.setIsshare(mod.getIsshare().toString());
+			row.setRemark(mod.getRemark());
+			rows.add(row);
+		}
+
+		this.getD_mdo0005().setRows(rows);
+		this.getD_mdo0005().setTotal(total);
+	}
+	
+	/**
+	 * 西工大系统,“模版查询”业务前处理
+ 	 */
+	public void preTransFlow() throws Exception {
+		this.validater();
+	}
+	
+	/**
+	 * 西工大系统,“模版查询”业务后处理
+ 	 */
+	public void afterTransFlow() throws Exception {
+	
+	}
+	
+	/**
+	 * 西工大系统,“模版查询”逻辑入口处理方法
+ 	 */
+ 	@SuppressWarnings("rawtypes")
+	@Override
+	public Map execute(Map vars) throws Exception {
+		this.setTransMap(vars);
+		preTransFlow();// 执行业务开始的规则检查和校验
+		transExecute();// 执行核心业务段
+		afterTransFlow();// 执行核心逻辑完成后的收尾逻辑
+		return this.getTransMap();
+	}
+
+}

+ 94 - 0
src/main/java/com/miniframe/bisiness/mdo/MDO0006Service.java

@@ -0,0 +1,94 @@
+package com.miniframe.bisiness.mdo;
+
+
+import com.miniframe.core.ExecProcessFlow;
+import com.miniframe.core.exception.BusinessException;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.generate.business.mdo.model.MDO0006BaseModel;
+import com.miniframe.model.mdo.MdoMod;
+import com.miniframe.model.mdo.dao.MdoModMapper;
+import com.miniframe.tools.XIDateTimeUtils;
+import tk.mybatis.mapper.util.StringUtil;
+
+import java.util.Date;
+import java.util.Map;
+
+/**
+ * 西工大系统,“模版添加修改”逻辑处理(重新生成不覆盖)。
+ */
+public class MDO0006Service extends MDO0006BaseModel implements ExecProcessFlow {
+	
+	private static final long serialVersionUID = -7051358269847459502L;
+		
+	/**
+	 * 西工大系统,“模版添加修改”业务核心处理
+ 	 */
+	public void transExecute() throws Exception {
+		String mid = this.getA_mdo0006().getMid();
+		String name =this.getA_mdo0006().getName();
+		String remark =this.getA_mdo0006().getRemark();
+		String isshare =this.getA_mdo0006().getIsshare();
+		String image =this.getA_mdo0006().getImage();
+		String flow =this.getA_mdo0006().getFlow();
+		String uid=this.getA_mdohead().getUserId();
+		Date nowDate = XIDateTimeUtils.getNowDate();
+		MdoModMapper modDao = UtilTools.getBean(MdoModMapper.class);
+		if(StringUtil.isEmpty(mid)){//添加
+			mid = UtilTools.getUUid();
+			MdoMod mod =new MdoMod();
+			mod.setId(mid);
+			mod.setUid(uid);
+			mod.setCreateTime(nowDate);
+			mod.setUpdateTime(nowDate);
+			mod.setFlow(flow);
+			mod.setImage(image);
+			mod.setIsshare(Short.valueOf(isshare));
+			mod.setName(name);
+			mod.setRemark(remark);
+			modDao.insert(mod);
+		}else{//修改
+			MdoMod mod = modDao.selectByPrimaryKey(mid);
+			if(mod==null){
+				throw  new BusinessException("MDO000002");
+			}
+			mod.setId(mid);
+			mod.setUid(uid);
+			mod.setUpdateTime(nowDate);
+			mod.setFlow(flow);
+			mod.setImage(image);
+			mod.setIsshare(Short.valueOf(isshare));
+			mod.setName(name);
+			mod.setRemark(remark);
+			modDao.updateByPrimaryKey(mod);
+		}
+
+	}
+	
+	/**
+	 * 西工大系统,“模版添加修改”业务前处理
+ 	 */
+	public void preTransFlow() throws Exception {
+		this.validater();
+	}
+	
+	/**
+	 * 西工大系统,“模版添加修改”业务后处理
+ 	 */
+	public void afterTransFlow() throws Exception {
+	
+	}
+	
+	/**
+	 * 西工大系统,“模版添加修改”逻辑入口处理方法
+ 	 */
+ 	@SuppressWarnings("rawtypes")
+	@Override
+	public Map execute(Map vars) throws Exception {
+		this.setTransMap(vars);
+		preTransFlow();// 执行业务开始的规则检查和校验
+		transExecute();// 执行核心业务段
+		afterTransFlow();// 执行核心逻辑完成后的收尾逻辑
+		return this.getTransMap();
+	}
+
+}

+ 58 - 0
src/main/java/com/miniframe/bisiness/mdo/MDO0007Service.java

@@ -0,0 +1,58 @@
+package com.miniframe.bisiness.mdo;
+
+import java.util.Map;
+import com.miniframe.core.ExecProcessFlow;
+import com.miniframe.core.exception.BusinessException;
+import com.miniframe.core.ext.UtilTools;
+import com.miniframe.generate.business.mdo.model.MDO0007BaseModel;
+import com.miniframe.model.mdo.MdoMod;
+import com.miniframe.model.mdo.dao.MdoModMapper;
+
+/**
+ * 西工大系统,“模版删除”逻辑处理(重新生成不覆盖)。
+ */
+public class MDO0007Service extends MDO0007BaseModel implements ExecProcessFlow {
+	
+	private static final long serialVersionUID = -7051358269847459502L;
+		
+	/**
+	 * 西工大系统,“模版删除”业务核心处理
+ 	 */
+	public void transExecute() throws Exception {
+		String mid = this.getA_mdo0007().getMid();
+		MdoModMapper proDao = UtilTools.getBean(MdoModMapper.class);
+		MdoMod mod = proDao.selectByPrimaryKey(mid);
+		if(mod==null){
+			throw  new BusinessException("MDO000002");
+		}
+		proDao.deleteByPrimaryKey(mid);
+	}
+	
+	/**
+	 * 西工大系统,“模版删除”业务前处理
+ 	 */
+	public void preTransFlow() throws Exception {
+		this.validater();
+	}
+	
+	/**
+	 * 西工大系统,“模版删除”业务后处理
+ 	 */
+	public void afterTransFlow() throws Exception {
+	
+	}
+	
+	/**
+	 * 西工大系统,“模版删除”逻辑入口处理方法
+ 	 */
+ 	@SuppressWarnings("rawtypes")
+	@Override
+	public Map execute(Map vars) throws Exception {
+		this.setTransMap(vars);
+		preTransFlow();// 执行业务开始的规则检查和校验
+		transExecute();// 执行核心业务段
+		afterTransFlow();// 执行核心逻辑完成后的收尾逻辑
+		return this.getTransMap();
+	}
+
+}

+ 23 - 0
src/main/java/com/miniframe/dbtransfer/MdoModDbTransfer.java

@@ -0,0 +1,23 @@
+package com.miniframe.dbtransfer;
+
+import com.miniframe.core.DbTransfer;
+import java.io.Serializable;
+import java.util.List;
+import java.util.Map;
+
+import com.miniframe.model.mdo.MdoMod;
+
+/**
+ * 实体列表,“MDO_MOD”数据库数据转化逻辑处理(重新生成不覆盖)。
+ */
+public class MdoModDbTransfer extends DbTransfer implements Serializable {
+	
+	private static final long serialVersionUID = -7051358269847459502L;
+
+	@Override
+	public List transfer(final List l,Map map) throws Exception{
+		List<MdoMod> list=l;
+		return list;
+	};
+
+}

+ 44 - 0
src/test/java/com/miniframe/comm/httpmdoapater/MDO0005Test.java

@@ -0,0 +1,44 @@
+package com.miniframe.comm.httpmdoapater;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import com.miniframe.comm.httpmdoapater.HttpmdoapaterUtil;
+import com.miniframe.generate.comm.mdo.A_MDO0005;
+import com.miniframe.generate.comm.httpmdoapater.MDO0005Client;
+import com.miniframe.generate.business.mdo.model.MDO0005BaseModel;
+
+public class MDO0005Test {
+
+	private static final Logger logger = LoggerFactory.getLogger(MDO0005Test.class);
+
+	/**
+	 * 模板查询,获取报文体
+	 * @return
+	 */
+	public static A_MDO0005 getA_mdo0005() {
+		A_MDO0005 a_mdo0005 = new A_MDO0005();
+
+		// ----------以下增加【模板查询】上行体赋值-------------
+
+
+
+		// ---------------------------------------------------
+		return a_mdo0005;
+	}
+	
+	/**
+	 * 运行客户端测试,模板查询
+	 * 
+	 * @param args
+	 * @throws Exception
+	 */
+	public static void main(String[] args) throws Exception {
+		MDO0005BaseModel model = new MDO0005BaseModel();
+		model.setA_mdohead(HttpmdoapaterUtil.getA_mdohead("MDO0005"));
+		model.setA_mdo0005(MDO0005Test.getA_mdo0005());
+		MDO0005Client client = new MDO0005Client();
+		logger.error("客户端发送前总线:\r\n"+model);
+		model = client.execute(model);
+		logger.error("客户端发送后总线:\r\n"+model);
+	}
+}

+ 44 - 0
src/test/java/com/miniframe/comm/httpmdoapater/MDO0006Test.java

@@ -0,0 +1,44 @@
+package com.miniframe.comm.httpmdoapater;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import com.miniframe.comm.httpmdoapater.HttpmdoapaterUtil;
+import com.miniframe.generate.comm.mdo.A_MDO0006;
+import com.miniframe.generate.comm.httpmdoapater.MDO0006Client;
+import com.miniframe.generate.business.mdo.model.MDO0006BaseModel;
+
+public class MDO0006Test {
+
+	private static final Logger logger = LoggerFactory.getLogger(MDO0006Test.class);
+
+	/**
+	 * 模板添加修改,获取报文体
+	 * @return
+	 */
+	public static A_MDO0006 getA_mdo0006() {
+		A_MDO0006 a_mdo0006 = new A_MDO0006();
+
+		// ----------以下增加【模板添加修改】上行体赋值-------------
+
+
+
+		// ---------------------------------------------------
+		return a_mdo0006;
+	}
+	
+	/**
+	 * 运行客户端测试,模板添加修改
+	 * 
+	 * @param args
+	 * @throws Exception
+	 */
+	public static void main(String[] args) throws Exception {
+		MDO0006BaseModel model = new MDO0006BaseModel();
+		model.setA_mdohead(HttpmdoapaterUtil.getA_mdohead("MDO0006"));
+		model.setA_mdo0006(MDO0006Test.getA_mdo0006());
+		MDO0006Client client = new MDO0006Client();
+		logger.error("客户端发送前总线:\r\n"+model);
+		model = client.execute(model);
+		logger.error("客户端发送后总线:\r\n"+model);
+	}
+}

+ 44 - 0
src/test/java/com/miniframe/comm/httpmdoapater/MDO0007Test.java

@@ -0,0 +1,44 @@
+package com.miniframe.comm.httpmdoapater;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import com.miniframe.comm.httpmdoapater.HttpmdoapaterUtil;
+import com.miniframe.generate.comm.mdo.A_MDO0007;
+import com.miniframe.generate.comm.httpmdoapater.MDO0007Client;
+import com.miniframe.generate.business.mdo.model.MDO0007BaseModel;
+
+public class MDO0007Test {
+
+	private static final Logger logger = LoggerFactory.getLogger(MDO0007Test.class);
+
+	/**
+	 * 模板删除,获取报文体
+	 * @return
+	 */
+	public static A_MDO0007 getA_mdo0007() {
+		A_MDO0007 a_mdo0007 = new A_MDO0007();
+
+		// ----------以下增加【模板删除】上行体赋值-------------
+
+
+
+		// ---------------------------------------------------
+		return a_mdo0007;
+	}
+	
+	/**
+	 * 运行客户端测试,模板删除
+	 * 
+	 * @param args
+	 * @throws Exception
+	 */
+	public static void main(String[] args) throws Exception {
+		MDO0007BaseModel model = new MDO0007BaseModel();
+		model.setA_mdohead(HttpmdoapaterUtil.getA_mdohead("MDO0007"));
+		model.setA_mdo0007(MDO0007Test.getA_mdo0007());
+		MDO0007Client client = new MDO0007Client();
+		logger.error("客户端发送前总线:\r\n"+model);
+		model = client.execute(model);
+		logger.error("客户端发送后总线:\r\n"+model);
+	}
+}

+ 4 - 0
系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0005_A(模板查询).csv

@@ -0,0 +1,4 @@
+序号,英文名称,中文名称,数据类型,默认值,格式化,非空/引用,最小(长度/值),最大(长度/值),验证规则,标准数据ID,XML样式,TAG标签,映射/子标签,CDATA
+1,count,每页显示条数,int,5,,是,,,,,,,,
+2,page,当前页数,int,1,,是,,,,,,,,
+3,searchtag,查询条件,string,,,,,,,,,,,

+ 11 - 0
系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0005_D(模板查询).csv

@@ -0,0 +1,11 @@
+序号,英文名称,中文名称,数据类型,默认值,格式化,非空/引用,最小(长度/值),最大(长度/值),验证规则,标准数据ID,XML样式,TAG标签,映射/子标签,CDATA
+1,total,总数,int,,,,1,256,,,,,,
+2,rows,数据,list,,,,0,,,,,,,
+2.1,mid,模版ID,string,,,,,,,,,,,
+2.2,name,名称,string,,,,,,,,,,,
+2.3,remark,描述,string,,,,,,,,,,,
+2.4,image,图片base64,string,,,,,,,,,,,
+2.5,createtime,创建时间,string,,,,,,,,,,,
+2.6,updatetime,更新时间,string,,,,,,,,,,,
+2.7,isshare,,string,,,,,,,,,,,
+2.8,flow,流程图,string,,,,,,,,,,,

+ 8 - 0
系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0006_A(模板添加修改).csv

@@ -0,0 +1,8 @@
+序号,英文名称,中文名称,数据类型,默认值,格式化,非空/引用,最小(长度/值),最大(长度/值),验证规则,标准数据ID,XML样式,TAG标签,映射/子标签,CDATA
+1,mid,模版ID,string,,,,,,,,,,,
+2,name,名称,string,,,是,,1024,,,,,,
+3,remark,描述,string,,,,,2048,,,,,,
+4,image,图片base64,string,,,,,,,,,,,
+5,isshare,,string,,,,,,,,,,,
+6,flow,流程图,string,,,,,,,,,,,
+

+ 2 - 0
系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0006_D(模板添加修改).csv

@@ -0,0 +1,2 @@
+序号,英文名称,中文名称,数据类型,默认值,格式化,非空/引用,最小(长度/值),最大(长度/值),验证规则,标准数据ID,XML样式,TAG标签,映射/子标签,CDATA
+

+ 3 - 0
系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0007_A(模板删除).csv

@@ -0,0 +1,3 @@
+序号,英文名称,中文名称,数据类型,默认值,格式化,非空/引用,最小(长度/值),最大(长度/值),验证规则,标准数据ID,XML样式,TAG标签,映射/子标签,CDATA
+1,mid,模版ID,string,,,是,,,,,,,,
+

+ 2 - 0
系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0007_D(模板删除).csv

@@ -0,0 +1,2 @@
+序号,英文名称,中文名称,数据类型,默认值,格式化,非空/引用,最小(长度/值),最大(长度/值),验证规则,标准数据ID,XML样式,TAG标签,映射/子标签,CDATA
+