Selaa lähdekoodia

根据moid 生成pid 返回数据

huangxingxing 11 kuukautta sitten
vanhempi
säilyke
306bcda6ce

+ 104 - 0
generated/com/miniframe/generate/comm/mdo/D_MDO0004.java

@@ -9,4 +9,108 @@ import java.io.Serializable;
  */
 public class D_MDO0004 extends BaseMapModel implements Serializable {
 	private static final long serialVersionUID = -1463838678425832212L;
+	String pid;//UUID
+	/**
+	 *UUID
+	 */
+	public void setPid(String pid) {
+		this.pid=pid;
+	}
+	/**
+	 *UUID
+	 */
+	public String getPid() {
+		return this.pid;
+	}
+	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;
+	}
 }

+ 9 - 1
generated/validator/resources_d_mdo0004Form_validator.properties

@@ -1 +1,9 @@
-d_mdo0004Form = false
+d_mdo0004.pid = UUID
+d_mdo0004.name = \u540D\u79F0
+d_mdo0004.remark = \u63CF\u8FF0
+d_mdo0004.image = \u56FE\u7247base64
+d_mdo0004.createtime = \u521B\u5EFA\u65F6\u95F4
+d_mdo0004.updatetime = \u66F4\u65B0\u65F6\u95F4
+d_mdo0004.isshare = 
+d_mdo0004.flow = \u6D41\u7A0B\u56FE
+d_mdo0004Form = true

+ 9 - 1
generated/validator/resources_d_mdo0004Form_validator_zh_CN.properties

@@ -1 +1,9 @@
-d_mdo0004Form = false
+d_mdo0004.pid = UUID
+d_mdo0004.name = \u540D\u79F0
+d_mdo0004.remark = \u63CF\u8FF0
+d_mdo0004.image = \u56FE\u7247base64
+d_mdo0004.createtime = \u521B\u5EFA\u65F6\u95F4
+d_mdo0004.updatetime = \u66F4\u65B0\u65F6\u95F4
+d_mdo0004.isshare = 
+d_mdo0004.flow = \u6D41\u7A0B\u56FE
+d_mdo0004Form = true

+ 13 - 0
src/main/java/com/miniframe/bisiness/mdo/MDO0004Service.java

@@ -6,6 +6,8 @@ import com.miniframe.core.ExecProcessFlow;
 import com.miniframe.core.exception.BusinessException;
 import com.miniframe.core.ext.UtilTools;
 import com.miniframe.generate.business.mdo.model.MDO0004BaseModel;
+import com.miniframe.generate.comm.mdo.D_MDO0001_ROWS_RECODE;
+import com.miniframe.generate.comm.mdo.D_MDO0004;
 import com.miniframe.model.mdo.MdoMod;
 import com.miniframe.model.mdo.MdoProject;
 import com.miniframe.model.mdo.dao.MdoModMapper;
@@ -48,6 +50,17 @@ public class MDO0004Service extends MDO0004BaseModel implements ExecProcessFlow
 		pro.setCreateTime(nowDate);
 		pro.setUpdateTime(nowDate);
 		proDao.insert(pro);
+
+		D_MDO0004 row =new D_MDO0004();
+		row.setCreatetime(XIDateTimeUtils.getStrFromDate(pro.getCreateTime()));
+		row.setUpdatetime(XIDateTimeUtils.getStrFromDate(pro.getUpdateTime()));
+		row.setName(pro.getName());
+		row.setFlow(pro.getFlow());
+		row.setPid(pro.getId());
+		row.setImage(pro.getImage());
+		row.setIsshare(pro.getIsshare().toString());
+		row.setRemark(pro.getRemark());
+		this.setD_mdo0004(row);
 	
 	}
 	

+ 8 - 1
系统设计/通信设计/通讯报文/mdo(系统服务)/报文体/MDO0004_D(根据模板添加工程).csv

@@ -1,2 +1,9 @@
 序号,英文名称,中文名称,数据类型,默认值,格式化,非空/引用,最小(长度/值),最大(长度/值),验证规则,标准数据ID,XML样式,TAG标签,映射/子标签,CDATA
-
+1,pid,UUID,string,,,,,,,,,,,
+2,name,名称,string,,,,,,,,,,,
+3,remark,描述,string,,,,,,,,,,,
+4,image,图片base64,string,,,,,,,,,,,
+5,createtime,创建时间,string,,,,,,,,,,,
+6,updatetime,更新时间,string,,,,,,,,,,,
+7,isshare,,string,,,,,,,,,,,
+8,flow,流程图,string,,,,,,,,,,,