提交 ea9817b1 authored 作者: luojie's avatar luojie

修改订单列表查询

上级 a7d9e2c2
...@@ -137,8 +137,8 @@ ...@@ -137,8 +137,8 @@
</if> </if>
</select> </select>
<select id="queryTotal" resultType="int"> <select id="queryTotal" resultType="int">
select count(*) from tb_cf_coupon select count(*)from tb_cf_coupon a left join tb_cf_coupon_category b on a.coupon_category_id=b.coupon_category_id
WHERE 1=1 WHERE 1=1 and b.enable_flag=1
<if test="name != null and name.trim() != ''"> <if test="name != null and name.trim() != ''">
AND name LIKE concat('%',#{name},'%') AND name LIKE concat('%',#{name},'%')
</if> </if>
......
...@@ -57,8 +57,11 @@ ...@@ -57,8 +57,11 @@
</select> </select>
<select id="queryTotal" resultType="int"> <select id="queryTotal" resultType="int">
select count(*) from tb_cf_toicoupon select count(*) from tb_cf_toicoupon t
WHERE 1=1 left join tb_cf_user_info u on t.user_id=u.user_id
left join tb_cf_coupon c on c.coupon_id=t.coupon_id
left join tb_cf_coupon_category y on y.coupon_category_id=c.coupon_category_id
WHERE 1=1 and u.nick is not null and u.account is not null
<if test="name != null and name.trim() != ''"> <if test="name != null and name.trim() != ''">
AND name LIKE concat('%',#{name},'%') AND name LIKE concat('%',#{name},'%')
</if> </if>
......
...@@ -660,7 +660,7 @@ payStatusFormat = function (cellvalue) { ...@@ -660,7 +660,7 @@ payStatusFormat = function (cellvalue) {
* @returns {string} * @returns {string}
*/ */
deliveryFlagFormat = function (cellvalue) { deliveryFlagFormat = function (cellvalue) {
var returnStr="等待处理" var returnStr="待采购"
if(!!cellvalue||cellvalue == '0'){ if(!!cellvalue||cellvalue == '0'){
if (cellvalue == '10') { if (cellvalue == '10') {
returnStr = "已代购"; returnStr = "已代购";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论