Commit f362b26e authored by yanzg's avatar yanzg

下载视频

parent fa25332f
...@@ -70,7 +70,7 @@ public class YzgFileDaoImpl extends BaseDaoImpl implements YzgFileDao, Initializ ...@@ -70,7 +70,7 @@ public class YzgFileDaoImpl extends BaseDaoImpl implements YzgFileDao, Initializ
; ;
table.add(UPDATE_STATUS_SQL, "UPDATE Yzg_File AS a SET a.fileId=a.fileId {FIELD} WHERE a.fileId=@fileId") table.add(UPDATE_STATUS_SQL, "UPDATE Yzg_File AS a SET a.fileId=a.fileId {FIELD} WHERE a.fileId=@fileId")
.addPara("fileStatus", DaoConst.CODE_FIELD, ",a.fileStatus=CASE WHEN @fileStatus>a.fileStatus THEN @fileStatus ELSE a.fileStatus END") .add("fileStatus", "AND a.fileStatus<=@fileStatus", DaoConst.CODE_FIELD, ",a.fileStatus=@fileStatus")
.addPara("fileRow", DaoConst.CODE_FIELD, ",a.fileRow=CASE WHEN @fileRow>a.fileRow THEN @fileRow ELSE a.fileRow END") .addPara("fileRow", DaoConst.CODE_FIELD, ",a.fileRow=CASE WHEN @fileRow>a.fileRow THEN @fileRow ELSE a.fileRow END")
.addPara("errorMessage", DaoConst.CODE_FIELD, ",a.errorMessage=@errorMessage") .addPara("errorMessage", DaoConst.CODE_FIELD, ",a.errorMessage=@errorMessage")
; ;
......
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