|
@ -1,5 +1,6 @@
|
1
|
1
|
package com.ekexiu.portal.ware;
|
2
|
2
|
|
|
3
|
import com.ekexiu.portal.dao.WatchDao;
|
3
|
4
|
import com.ekexiu.portal.service.GrowthLogService;
|
4
|
5
|
import com.ekexiu.portal.service.KeyWordService;
|
5
|
6
|
import org.jfw.apt.annotation.Autowrie;
|
|
@ -55,6 +56,18 @@ public class WareService {
|
55
|
56
|
|
56
|
57
|
@Autowrie
|
57
|
58
|
private WareDao wareDao;
|
|
59
|
@Autowrie
|
|
60
|
private WatchDao watchDao;
|
|
61
|
|
|
62
|
|
|
63
|
|
|
64
|
public WatchDao getWatchDao() {
|
|
65
|
return watchDao;
|
|
66
|
}
|
|
67
|
|
|
68
|
public void setWatchDao(WatchDao watchDao) {
|
|
69
|
this.watchDao = watchDao;
|
|
70
|
}
|
58
|
71
|
|
59
|
72
|
public GrowthLogService getGrowthLogService() {
|
60
|
73
|
return growthLogService;
|
|
@ -565,6 +578,7 @@ public class WareService {
|
565
|
578
|
@Post
|
566
|
579
|
@Path("/delete")
|
567
|
580
|
public int delete(@JdbcConn(true) Connection con, String id) throws SQLException {
|
|
581
|
watchDao.deleteWatch(con,(short)10, id);
|
568
|
582
|
return wareDao.logicDelete(con, id);
|
569
|
583
|
}
|
570
|
584
|
|