Commit e73b6031 authored by 谢希宇's avatar 谢希宇

Aidea product update by Strive Date 2020-11-23

parent a4ee762a
...@@ -200,8 +200,10 @@ public class ConsultSheetServiceImpl extends GenericServiceImpl<ConsultSheet> im ...@@ -200,8 +200,10 @@ public class ConsultSheetServiceImpl extends GenericServiceImpl<ConsultSheet> im
return true; return true;
} }
userConds.equal("t.id", order.getDoctorId()); Conds docConds = new Conds();
user = qyuserService.fetchSearchByConds(userConds); docConds.equal("t.del_flag", Constants.DEL_FLAG_0);
docConds.equal("t.id", order.getDoctorId());
user = qyuserService.fetchSearchByConds(docConds);
if (user.getPeakVal() > 0) {//药师峰值大于0 if (user.getPeakVal() > 0) {//药师峰值大于0
consultSheet.setDoctorId(user.getId()); consultSheet.setDoctorId(user.getId());
} else {//普通轮询 } else {//普通轮询
......
...@@ -207,6 +207,7 @@ ...@@ -207,6 +207,7 @@
<th>支付交易号</th> <th>支付交易号</th>
<th>是否开票</th> <th>是否开票</th>
<th>创建时间</th> <th>创建时间</th>
<th>付款时间</th>
<th>操作</th> <th>操作</th>
</tr> </tr>
</thead> </thead>
...@@ -358,6 +359,10 @@ ...@@ -358,6 +359,10 @@
"mData": "createTime" "mData": "createTime"
} }
, ,
{
"mData": "payTime"
}
,
{ {
"mData": "id" "mData": "id"
} }
...@@ -412,7 +417,7 @@ ...@@ -412,7 +417,7 @@
"mData": "nickName", "mData": "nickName",
"mRender": function (a, b, c, d) { "mRender": function (a, b, c, d) {
if (a) { if (a) {
return a.slice(0, 1) + '*' + a.slice(2, 3); return a;
} else { } else {
return null; return null;
} }
...@@ -472,7 +477,7 @@ ...@@ -472,7 +477,7 @@
, ,
{ {
"aTargets": [12], "aTargets": [12],
"mData": "createTime", "mData": "payTime",
"mRender": function (a, b, c, d) { "mRender": function (a, b, c, d) {
return formatDates(a); return formatDates(a);
} }
...@@ -480,6 +485,18 @@ ...@@ -480,6 +485,18 @@
, ,
{ {
"aTargets": [13], "aTargets": [13],
"mData": "createTime",
"mRender": function (a, b, c, d) {
let time = formatDates(a);
if (time.indexOf("1970") != -1) {
return '';
}
return formatDates(a);
}
}
,
{
"aTargets": [14],
"mData": "id", "mData": "id",
"mRender": function (a, b, c, d) { "mRender": function (a, b, c, d) {
var html = '#if($shiro.hasPermission("qy:order:edit"))'; var html = '#if($shiro.hasPermission("qy:order:edit"))';
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
<result column="service_id" property="serviceId"/> <result column="service_id" property="serviceId"/>
<result column="doctor_id" property="doctorId"/> <result column="doctor_id" property="doctorId"/>
<result column="openid" property="openid"/> <result column="openid" property="openid"/>
<result column="pay_time" property="payTime"/>
<result column="pay_status" property="payStatus"/> <result column="pay_status" property="payStatus"/>
<result column="pay_amount" property="payAmount"/> <result column="pay_amount" property="payAmount"/>
<result column="order_amount" property="orderAmount"/> <result column="order_amount" property="orderAmount"/>
...@@ -111,6 +112,7 @@ ...@@ -111,6 +112,7 @@
o.consult_id, o.consult_id,
t.product_name, t.product_name,
o.number, o.number,
o.pay_time,
o.pay_amount, o.pay_amount,
o.order_amount, o.order_amount,
o.total_amount, o.total_amount,
...@@ -215,7 +217,7 @@ ...@@ -215,7 +217,7 @@
#{payAmount, jdbcType=DECIMAL}, #{payAmount, jdbcType=DECIMAL},
#{orderAmount, jdbcType=DECIMAL}, #{orderAmount, jdbcType=DECIMAL},
#{totalAmount, jdbcType=DECIMAL}, #{totalAmount, jdbcType=DECIMAL},
now(), #{payTime, jdbcType=TIMESTAMP},
#{tradeNo, jdbcType=VARCHAR}, #{tradeNo, jdbcType=VARCHAR},
#{courierNumber, jdbcType=VARCHAR}, #{courierNumber, jdbcType=VARCHAR},
#{confirm, jdbcType=VARCHAR}, #{confirm, jdbcType=VARCHAR},
...@@ -398,7 +400,7 @@ ...@@ -398,7 +400,7 @@
address_des = #{addressDes, jdbcType=VARCHAR}, address_des = #{addressDes, jdbcType=VARCHAR},
</if> </if>
<if test="orderTime != null"> <if test="orderTime != null">
order_time = #{orderTime, jdbcType=VARCHAR} order_time = #{orderTime, jdbcType=TIMESTAMP}
</if> </if>
</set> </set>
where id=#{id,jdbcType=BIGINT} where id=#{id,jdbcType=BIGINT}
...@@ -475,6 +477,9 @@ ...@@ -475,6 +477,9 @@
<if test="status != null"> <if test="status != null">
status = #{status}, status = #{status},
</if> </if>
<if test="status != null and status == 2">
pay_time = now(),
</if>
<if test="orderCancel!=null and orderCancel != ''"> <if test="orderCancel!=null and orderCancel != ''">
order_cancel = #{orderCancel} order_cancel = #{orderCancel}
</if> </if>
......
...@@ -119,8 +119,8 @@ ...@@ -119,8 +119,8 @@
> >
</div> </div>
<div class="form-group form-md-line-input col-md-12" id="img"> <!--<div class="form-group form-md-line-input col-md-12" id="img">-->
</div> <!--</div>-->
<div class="form-group form-md-line-input col-md-12"> <div class="form-group form-md-line-input col-md-12">
<label>是否推荐</label> <label>是否推荐</label>
...@@ -253,20 +253,6 @@ ...@@ -253,20 +253,6 @@
messages: {}, messages: {},
submitHandler: function (form) { submitHandler: function (form) {
var data = $("#myForm").serializeJSON(); var data = $("#myForm").serializeJSON();
var classifyImg = coverPP.getStringValues().split(',')[0];
var flag = true;
if(classifyImg == ''){
flag = false;
Cfapp.alert({
message: "请上传图片",
btntext: "确定",
success: function () {
return false;
}
});
}
if(flag){
data.classifyImg = classifyImg;
$("#save").attr("disabled", true); $("#save").attr("disabled", true);
$.post("#springUrl('/a/productclassify/formData')", data, function(returnobj) { $.post("#springUrl('/a/productclassify/formData')", data, function(returnobj) {
$("#save").attr("disabled", false); $("#save").attr("disabled", false);
...@@ -300,7 +286,7 @@ ...@@ -300,7 +286,7 @@
}); });
} }
}); });
}
} }
}) })
......
...@@ -40,7 +40,7 @@ LOG_URL=http://www.michang-tech.com.cn:6989/log/addlog ...@@ -40,7 +40,7 @@ LOG_URL=http://www.michang-tech.com.cn:6989/log/addlog
#\u6821\u9A8C\u5151\u6362\u5BC6\u7801KEY #\u6821\u9A8C\u5151\u6362\u5BC6\u7801KEY
MEMBER_PASSWORD_KEY=DONGCHANGINT9527; MEMBER_PASSWORD_KEY=DONGCHANGINT9527;
list.refreshtoken=true list.refreshtoken=true
jwt.domain=pd.shxrtech.com jwt.domain=127.0.0.1
#\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD #\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
jwt.duration=86400000 jwt.duration=86400000
#\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u03AAtrue #\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u03AAtrue
......
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