Parcourir la Source

--DemandDao;DemandService;

zzy.zhiyuan.foxmail 8 ans auparavant
Parent
commit
86180d85ab

+ 0 - 3
src/main/java/com/ekexiu/portal/dao/DemandDao.java

@ -48,13 +48,10 @@ public abstract class DemandDao {
48 48
	@From(Demand.class)
49 49
	public abstract int queryCountStatus(Connection con,String demandStatus)throws SQLException, JfwBaseException;
50 50
	
51
<<<<<<< HEAD
52
=======
53 51
	@SelectList
54 52
	@OrderBy("ORDER BY CREATE_TIME DESC")
55 53
	public abstract List<Demand> queryForOrg(Connection con,String orgId)throws SQLException;
56 54
	
57
>>>>>>> refs/remotes/origin/dev
58 55
	@SelectList
59 56
	@OrderBy("ORDER BY CREATE_TIME DESC")
60 57
	public abstract List<Demand> queryByDemander(Connection con,String demander)throws SQLException;

+ 0 - 6
src/main/java/com/ekexiu/portal/service/DemandService.java

@ -155,12 +155,6 @@ public class DemandService {
155 155
		return this.demandDao.queryForOrg(con, orgId);
156 156
	}
157 157
	
158
	@Get
159
	@Path("/queryPublish")
160
	public int queryPublish(@JdbcConn Connection con)throws SQLException, JfwBaseException{
161
		return this.demandDao.queryCountStatus(con, "1");
162
	}
163
	
164 158
	@Get
165 159
	@Path("/byDemander")
166 160
	public List<Demand> queryByDemander(@JdbcConn Connection con,String demander)throws SQLException{