提交 bfd3b93f authored 作者: 吴德鹏's avatar 吴德鹏

评论

上级 64af38ca
...@@ -51,10 +51,10 @@ public class TbCfItemCommentServiceImpl implements TbCfItemCommentService { ...@@ -51,10 +51,10 @@ public class TbCfItemCommentServiceImpl implements TbCfItemCommentService {
// } // }
// tbCfItemComment.setUserId(userId); // tbCfItemComment.setUserId(userId);
tbCfItemComment.setId(IdUtil.createIdbyUUID()); tbCfItemComment.setId(IdUtil.createIdbyUUID());
tbCfItemComment.setReal(true); tbCfItemComment.setReal(false);
tbCfItemComment.setCreateTime(new Date()); tbCfItemComment.setCreateTime(new Date());
tbCfItemComment.setUpdateTime(new Date()); tbCfItemComment.setUpdateTime(new Date());
tbCfItemComment.setDelFlag(0); tbCfItemComment.setDelFlag(1);
return tbCfItemCommentDao.save(tbCfItemComment); return tbCfItemCommentDao.save(tbCfItemComment);
} }
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
left join tb_cf_order o on c.order_id=o.order_id left join tb_cf_order o on c.order_id=o.order_id
left join tb_cf_station_item i on c.item_id=i.item_id left join tb_cf_station_item i on c.item_id=i.item_id
WHERE WHERE
1 =1 1 =1 AND c.del_flag!=0
<if test="name != null and name.trim() != ''"> <if test="name != null and name.trim() != ''">
AND u.nick LIKE concat('%',#{name},'%') AND u.nick LIKE concat('%',#{name},'%')
</if> </if>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#jdbc.password=diaoyun666 #jdbc.password=diaoyun666
jdbc.url: jdbc:mysql://159.138.48.71:3306/chinafrica?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc.url: jdbc:mysql://159.138.48.71:3306/test?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc.username: root jdbc.username: root
jdbc.password: Diaoyunnuli.8 jdbc.password: Diaoyunnuli.8
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#jdbc.password=diaoyun666 #jdbc.password=diaoyun666
jdbc.url: jdbc:mysql://159.138.48.71:3306/chinafrica?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc.url: jdbc:mysql://159.138.48.71:3306/test?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc.username: root jdbc.username: root
jdbc.password: Diaoyunnuli.8 jdbc.password: Diaoyunnuli.8
......
...@@ -593,7 +593,7 @@ stateFormat = function (cellvalue) { ...@@ -593,7 +593,7 @@ stateFormat = function (cellvalue) {
*/ */
statusFormat = function (cellvalue) { statusFormat = function (cellvalue) {
return cellvalue == 0 ? '正常' : '已删除'; return cellvalue == 1 ? '正常' : '隐藏';
}; };
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论