Commit e7071718 authored by yanzg's avatar yanzg

下载视频

parent 691d74b8
......@@ -55,10 +55,10 @@ public class YzgFileDaoImpl extends BaseDaoImpl implements YzgFileDao, Initializ
.add("createDateTo", "AND a.createDate<=?")
.add("downloadDateFrom", "AND a.downloadDate>=?")
.add("downloadDateTo", "AND a.downloadDate<=?")
.add("search", "AND (b.callbackMQ LIKE CONCAT(?,'%') " +
"OR b.fileName LIKE CONCAT('%',?,'%') " +
"OR b.errorMessage LIKE CONCAT('%',?,'%') " +
"OR b.callbackParameter LIKE CONCAT('%',?,'%') ")
.add("search", "AND (a.callbackMQ LIKE CONCAT(?,'%') " +
"OR a.fileName LIKE CONCAT('%',?,'%') " +
"OR a.errorMessage LIKE CONCAT('%',?,'%') " +
"OR a.callbackParameter LIKE CONCAT('%',?,'%')) ")
;
table.add(GET_COUNT_SQL, "SELECT COUNT(1) FROM Yzg_File AS a WHERE 1=1")
......
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