Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sa_aidea
Aidea
Commits
e73b6031
Commit
e73b6031
authored
Nov 24, 2020
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aidea product update by Strive Date 2020-11-23
parent
a4ee762a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
57 deletions
+67
-57
ConsultSheetServiceImpl.java
...ch/consultsheet/service/impl/ConsultSheetServiceImpl.java
+4
-2
orderlist.html
...le-web/src/main/webapp/WEB-INF/views/order/orderlist.html
+19
-2
OrderMapper.xml
...module/src/main/java/com/cftech/order/dao/OrderMapper.xml
+7
-2
productclassifyform.html
...pp/WEB-INF/views/productclassify/productclassifyform.html
+36
-50
common-test.properties
cftech-common-web/src/main/resources/common-test.properties
+1
-1
No files found.
aidea-modules/consult-module/src/main/java/com/cftech/consultsheet/service/impl/ConsultSheetServiceImpl.java
View file @
e73b6031
...
...
@@ -200,8 +200,10 @@ public class ConsultSheetServiceImpl extends GenericServiceImpl<ConsultSheet> im
return
true
;
}
userConds
.
equal
(
"t.id"
,
order
.
getDoctorId
());
user
=
qyuserService
.
fetchSearchByConds
(
userConds
);
Conds
docConds
=
new
Conds
();
docConds
.
equal
(
"t.del_flag"
,
Constants
.
DEL_FLAG_0
);
docConds
.
equal
(
"t.id"
,
order
.
getDoctorId
());
user
=
qyuserService
.
fetchSearchByConds
(
docConds
);
if
(
user
.
getPeakVal
()
>
0
)
{
//药师峰值大于0
consultSheet
.
setDoctorId
(
user
.
getId
());
}
else
{
//普通轮询
...
...
aidea-modules/order-module-web/src/main/webapp/WEB-INF/views/order/orderlist.html
View file @
e73b6031
...
...
@@ -207,6 +207,7 @@
<th>
支付交易号
</th>
<th>
是否开票
</th>
<th>
创建时间
</th>
<th>
付款时间
</th>
<th>
操作
</th>
</tr>
</thead>
...
...
@@ -358,6 +359,10 @@
"mData"
:
"createTime"
}
,
{
"mData"
:
"payTime"
}
,
{
"mData"
:
"id"
}
...
...
@@ -412,7 +417,7 @@
"mData"
:
"nickName"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
if
(
a
)
{
return
a
.
slice
(
0
,
1
)
+
'*'
+
a
.
slice
(
2
,
3
)
;
return
a
;
}
else
{
return
null
;
}
...
...
@@ -472,7 +477,7 @@
,
{
"aTargets"
:
[
12
],
"mData"
:
"
create
Time"
,
"mData"
:
"
pay
Time"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
formatDates
(
a
);
}
...
...
@@ -480,6 +485,18 @@
,
{
"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"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
var
html
=
'#if($shiro.hasPermission("qy:order:edit"))'
;
...
...
aidea-modules/order-module/src/main/java/com/cftech/order/dao/OrderMapper.xml
View file @
e73b6031
...
...
@@ -46,6 +46,7 @@
<result
column=
"service_id"
property=
"serviceId"
/>
<result
column=
"doctor_id"
property=
"doctorId"
/>
<result
column=
"openid"
property=
"openid"
/>
<result
column=
"pay_time"
property=
"payTime"
/>
<result
column=
"pay_status"
property=
"payStatus"
/>
<result
column=
"pay_amount"
property=
"payAmount"
/>
<result
column=
"order_amount"
property=
"orderAmount"
/>
...
...
@@ -111,6 +112,7 @@
o.consult_id,
t.product_name,
o.number,
o.pay_time,
o.pay_amount,
o.order_amount,
o.total_amount,
...
...
@@ -215,7 +217,7 @@
#{payAmount, jdbcType=DECIMAL},
#{orderAmount, jdbcType=DECIMAL},
#{totalAmount, jdbcType=DECIMAL},
now()
,
#{payTime, jdbcType=TIMESTAMP}
,
#{tradeNo, jdbcType=VARCHAR},
#{courierNumber, jdbcType=VARCHAR},
#{confirm, jdbcType=VARCHAR},
...
...
@@ -398,7 +400,7 @@
address_des = #{addressDes, jdbcType=VARCHAR},
</if>
<if
test=
"orderTime != null"
>
order_time = #{orderTime, jdbcType=
VARCHAR
}
order_time = #{orderTime, jdbcType=
TIMESTAMP
}
</if>
</set>
where id=#{id,jdbcType=BIGINT}
...
...
@@ -475,6 +477,9 @@
<if
test=
"status != null"
>
status = #{status},
</if>
<if
test=
"status != null and status == 2"
>
pay_time = now(),
</if>
<if
test=
"orderCancel!=null and orderCancel != ''"
>
order_cancel = #{orderCancel}
</if>
...
...
aidea-modules/product-classify-module-web/src/main/webapp/WEB-INF/views/productclassify/productclassifyform.html
View file @
e73b6031
...
...
@@ -119,8 +119,8 @@
>
</div>
<
div
class=
"form-group form-md-line-input col-md-12"
id=
"img"
>
<
/div
>
<
!--<div class="form-group form-md-line-input col-md-12" id="img">--
>
<
!--</div>--
>
<div
class=
"form-group form-md-line-input col-md-12"
>
<label>
是否推荐
</label>
...
...
@@ -253,54 +253,40 @@
messages
:
{},
submitHandler
:
function
(
form
)
{
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
);
$
.
post
(
"#springUrl('/a/productclassify/formData')"
,
data
,
function
(
returnobj
)
{
$
(
"#save"
).
attr
(
"disabled"
,
false
);
if
(
returnobj
.
errorNo
==
2
)
{
//保存成功
Cfapp
.
confirm
({
message
:
"添加成功"
,
btnoktext
:
"继续添加"
,
btncanceltext
:
"关闭"
,
success
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/form')"
;
},
cancel
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/list')"
;
}
});
}
else
if
(
returnobj
.
errorNo
==
0
)
{
//修改成功
Cfapp
.
alert
({
message
:
"更新成功"
,
btntext
:
"确定"
,
success
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/list')"
;
}
});
}
else
{
Cfapp
.
alert
({
message
:
"创建失败"
,
btntext
:
"确定"
,
success
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/list')"
;
}
});
}
});
}
$
(
"#save"
).
attr
(
"disabled"
,
true
);
$
.
post
(
"#springUrl('/a/productclassify/formData')"
,
data
,
function
(
returnobj
)
{
$
(
"#save"
).
attr
(
"disabled"
,
false
);
if
(
returnobj
.
errorNo
==
2
)
{
//保存成功
Cfapp
.
confirm
({
message
:
"添加成功"
,
btnoktext
:
"继续添加"
,
btncanceltext
:
"关闭"
,
success
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/form')"
;
},
cancel
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/list')"
;
}
});
}
else
if
(
returnobj
.
errorNo
==
0
)
{
//修改成功
Cfapp
.
alert
({
message
:
"更新成功"
,
btntext
:
"确定"
,
success
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/list')"
;
}
});
}
else
{
Cfapp
.
alert
({
message
:
"创建失败"
,
btntext
:
"确定"
,
success
:
function
()
{
location
.
href
=
"#springUrl('/a/productclassify/list')"
;
}
});
}
});
}
})
...
...
cftech-common-web/src/main/resources/common-test.properties
View file @
e73b6031
...
...
@@ -40,7 +40,7 @@ LOG_URL=http://www.michang-tech.com.cn:6989/log/addlog
#\u6821\u9A8C\u5151\u6362\u5BC6\u7801KEY
MEMBER_PASSWORD_KEY
=
DONGCHANGINT9527;
list.refreshtoken
=
true
jwt.domain
=
pd.shxrtech.com
jwt.domain
=
127.0.0.1
#\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD
jwt.duration
=
86400000
#\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u03AAtrue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment