XMTT 6 anos atrás
pai
commit
702ff5c5f7

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

209
	@Post
209
	@Post
210
	@Path("/modify")
210
	@Path("/modify")
211
	public boolean update(@JdbcConn(true) Connection con,
211
	public boolean update(@JdbcConn(true) Connection con,
212
			@RequestParam(excludeFields = { "state", "createTime", "modifyTime", "title","source", "descp", "creator", "pageViews", "shareId" }) Demand demand)
212
			@RequestParam(excludeFields = { "state", "createTime", "modifyTime", "title","source", "descp", "pageViews", "shareId" }) Demand demand)
213
			throws SQLException {
213
			throws SQLException {
214
		if (demand.getCost() == null) {
214
		if (demand.getCost() == null) {
215
			demand.setCost("0");
215
			demand.setCost("0");