|
@ -1,15 +1,15 @@
|
1
|
1
|
package com.ekexiu.console.system.dao;
|
2
|
2
|
|
|
3
|
import com.ekexiu.console.system.po.Demand;
|
3
|
4
|
import com.ekexiu.console.system.pojo.DemandInfo;
|
4
|
5
|
import org.jfw.apt.annotation.Nullable;
|
5
|
6
|
import org.jfw.apt.orm.annotation.dao.DAO;
|
|
7
|
import org.jfw.apt.orm.annotation.dao.method.From;
|
6
|
8
|
import org.jfw.apt.orm.annotation.dao.method.OrderBy;
|
7
|
9
|
import org.jfw.apt.orm.annotation.dao.method.operator.PageQuery;
|
8
|
10
|
import org.jfw.apt.orm.annotation.dao.method.operator.QueryOne;
|
9
|
|
import org.jfw.apt.orm.annotation.dao.param.Alias;
|
10
|
|
import org.jfw.apt.orm.annotation.dao.param.GtEq;
|
11
|
|
import org.jfw.apt.orm.annotation.dao.param.Like;
|
12
|
|
import org.jfw.apt.orm.annotation.dao.param.LtEq;
|
|
11
|
import org.jfw.apt.orm.annotation.dao.method.operator.UpdateWith;
|
|
12
|
import org.jfw.apt.orm.annotation.dao.param.*;
|
13
|
13
|
import org.jfw.util.PageQueryResult;
|
14
|
14
|
|
15
|
15
|
import java.sql.Connection;
|
|
@ -30,4 +30,7 @@ public interface DemandDao {
|
30
|
30
|
PageQueryResult<DemandInfo> pageQuery(Connection con, @Nullable @Like String demandTitle, @Nullable @Like String professorName,
|
31
|
31
|
@Nullable @Like String demandAim, @Nullable @GtEq @Alias("createTime") String bt, @Nullable @Alias("createTime") @LtEq String et, int pageNo, int pageSize)throws SQLException;
|
32
|
32
|
|
|
33
|
@UpdateWith
|
|
34
|
@From(Demand.class)
|
|
35
|
int updateDemandStatus(Connection con,String demandId,@Set String demandStatus,@Set String closeTime)throws SQLException;
|
33
|
36
|
}
|