Commit e52229cc authored by 黎聪聪's avatar 黎聪聪

咨询单管理修改

parent 22d47957
...@@ -77,13 +77,13 @@ ...@@ -77,13 +77,13 @@
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<form id="seachTableForm" action="#springUrl('/a/consultSheet/list')" method="get"> <form id="seachTableForm" action="#springUrl('/a/consultSheet/list')" method="get">
<div class="col-xs-5"> <div class="col-xs-5" style="width: 800px">
<div class="col-xs-2"> <div class="col-xs-2" >
<input type="text" class="form-control required" <input type="text" class="form-control required" style="width: 100px"
name="userName" placeholder="用药人姓名"> name="userName" placeholder="用药人姓名">
</div> </div>
<div class="col-xs-2"> <div class="col-xs-2">
<input type="text" class="form-control required" <input type="text" class="form-control required" style="width: 100px"
name="illness" placeholder="病情描述"> name="illness" placeholder="病情描述">
</div> </div>
<a href="javascript:void(0)" class="btn btn-primary search">搜索</a> <a href="javascript:void(0)" class="btn btn-primary search">搜索</a>
......
...@@ -26,7 +26,10 @@ ...@@ -26,7 +26,10 @@
<result column="allergy" property="allergy"/> <result column="allergy" property="allergy"/>
<result column="symptom" property="symptom"/> <result column="symptom" property="symptom"/>
<result column="diagnosis" property="diagnosis"/> <result column="diagnosis" property="diagnosis"/>
<result column="open_id" property="openId"></result>
<result column="drugs_id" property="drugsId"></result>
<result column="member_id" property="memberId"></result>
<result column="order_id" property="orderId"></result>
</resultMap> </resultMap>
<sql id="sqlWhere"> <sql id="sqlWhere">
...@@ -80,6 +83,10 @@ ...@@ -80,6 +83,10 @@
a.allergy, a.allergy,
a.symptom, a.symptom,
a.diagnosis, a.diagnosis,
a.open_id,
a.drugs_id,
a.member_id,
a.order_id,
b.`name` pharmaName, b.`name` pharmaName,
c.`name` customerName c.`name` customerName
</sql> </sql>
...@@ -119,7 +126,11 @@ ...@@ -119,7 +126,11 @@
#{updateBy, jdbcType=VARCHAR}, #{updateBy, jdbcType=VARCHAR},
#{diagnosis,jdbcType=BIGINT} #{diagnosis,jdbcType=BIGINT}
#{doctorName, jdbcType=VARCHAR}, #{doctorName, jdbcType=VARCHAR},
#{customerName,jdbcType=BIGINT} #{customerName,jdbcType=BIGINT},
#{openId,jdbcType=VARCHAR},
#{drugsId,jdbcType=BIGINT},
#{memberId,jdbcType=BIGINT},
#{orderId,jdbcType=BIGINT}
) )
</insert> </insert>
...@@ -221,6 +232,18 @@ ...@@ -221,6 +232,18 @@
<if test="diagnosis != null"> <if test="diagnosis != null">
diagnosis = #{diagnosis, jdbcType=BIGINT}, diagnosis = #{diagnosis, jdbcType=BIGINT},
</if> </if>
<if test="openId != null">
open_id = #{openId, jdbcType=VARCHAR},
</if>
<if test="openId != null">
drugs_id = #{drugsId, jdbcType=BIGINT},
</if>
<if test="openId != null">
member_id = #{memberId, jdbcType=BIGINT},
</if>
<if test="openId != null">
order_id = #{orderId, jdbcType=BIGINT},
</if>
</set> </set>
where id=#{id,jdbcType=BIGINT} where id=#{id,jdbcType=BIGINT}
</update> </update>
......
...@@ -82,8 +82,10 @@ public class ConsultSheet extends UserSheet implements Serializable { ...@@ -82,8 +82,10 @@ public class ConsultSheet extends UserSheet implements Serializable {
/* 更新人 */ /* 更新人 */
private Long updateBy; private Long updateBy;
private String openId;
private Long drugsId;
private Long memberId;
private Long orderId;
public ConsultSheet() { public ConsultSheet() {
this.delFlag = false; this.delFlag = false;
this.status = "0"; this.status = "0";
......
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
"aTargets": [1], "aTargets": [1],
"mData": "ticket", "mData": "ticket",
"mRender": function (a, b, c, d) { "mRender": function (a, b, c, d) {
return '<img src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket='+a+'" style="width: 160px;height: 160px;">'; return '<img src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket='+a+'" style="width: 160px;height: 120px;">';
} }
},{ },{
......
...@@ -8,9 +8,11 @@ ...@@ -8,9 +8,11 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>consult-module-web</artifactId> <groupId>com.cftech</groupId>
<artifactId>shipping-address-module</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<name>consult-module-web Maven Webapp</name> <name>shipping-address-web Maven Webapp</name>
<version>1.0-SNAPSHOT</version>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<dependencies> <dependencies>
<dependency> <dependency>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment