XMTT 6 years ago
parent
commit
b16a8f1141

+ 2 - 2
src/main/java/com/ekexiu/project/platform/demand/DemandService.java

1
package com.ekexiu.project.platform.demand;
1
package com.ekexiu.project.platform.demand;
2

2

3
import com.ekexiu.project.platform.system.vo.SessionUser;
3
import com.ekexiu.project.platform.system.vo.SessionManager;
4
import com.ekexiu.project.util.HttpService;
4
import com.ekexiu.project.util.HttpService;
5
import org.jfw.apt.annotation.Autowrie;
5
import org.jfw.apt.annotation.Autowrie;
6
import org.jfw.apt.annotation.Nullable;
6
import org.jfw.apt.annotation.Nullable;
109

109

110
	@Post
110
	@Post
111
	@Path("/delay")
111
	@Path("/delay")
112
	public int delay(@JdbcConn(true) Connection con, @LoginUser SessionUser user, String id, String day) throws SQLException {
112
	public int delay(@JdbcConn(true) Connection con, @LoginUser SessionManager user, String id, String day) throws SQLException {
113
		if (demandDao.update(con, id, user.getId(), day) > 0) {
113
		if (demandDao.update(con, id, user.getId(), day) > 0) {
114
			DemandSyncLog dsl = new DemandSyncLog();
114
			DemandSyncLog dsl = new DemandSyncLog();
115
			dsl.setId(StringUtil.buildUUID());
115
			dsl.setId(StringUtil.buildUUID());