|
@@ -16,10 +16,7 @@ import org.slf4j.LoggerFactory;
|
16
|
16
|
import org.springframework.beans.factory.annotation.Autowired;
|
17
|
17
|
import org.springframework.web.bind.annotation.*;
|
18
|
18
|
|
19
|
|
-import javax.servlet.http.HttpServletRequest;
|
20
|
|
-import javax.servlet.http.HttpServletResponse;
|
21
|
19
|
import java.time.LocalDateTime;
|
22
|
|
-import java.util.Map;
|
23
|
20
|
|
24
|
21
|
|
25
|
22
|
* <p>
|
|
@@ -107,28 +104,6 @@ public class TaOfficeContactController extends BaseController {
|
107
|
104
|
}
|
108
|
105
|
return responseBean;
|
109
|
106
|
}
|
110
|
|
-
|
111
|
|
-
|
112
|
|
-
|
113
|
|
-
|
114
|
|
-
|
115
|
|
-
|
116
|
|
-
|
117
|
|
-
|
118
|
|
-
|
119
|
|
-
|
120
|
|
-
|
121
|
|
-
|
122
|
|
-
|
123
|
|
-
|
124
|
|
-
|
125
|
|
-
|
126
|
|
-
|
127
|
|
-
|
128
|
|
-
|
129
|
|
-
|
130
|
|
-
|
131
|
|
-
|
132
|
107
|
|
133
|
108
|
|
134
|
109
|
* 根据id删除对象
|
|
@@ -158,11 +133,12 @@ public class TaOfficeContactController extends BaseController {
|
158
|
133
|
* @param taOfficeContact 实体对象
|
159
|
134
|
* @return
|
160
|
135
|
*/
|
161
|
|
- @RequestMapping(value="/taOfficeContact/{id}",method= RequestMethod.PUT)
|
|
136
|
+ @RequestMapping(value="/channel/taOfficeContact/{id}",method= RequestMethod.PUT)
|
162
|
137
|
public ResponseBean taOfficeContactUpdate(@PathVariable String id,
|
163
|
138
|
@RequestBody TaOfficeContact taOfficeContact){
|
164
|
139
|
ResponseBean responseBean = new ResponseBean();
|
165
|
140
|
try {
|
|
141
|
+ taOfficeContact.setSerialNo(id);
|
166
|
142
|
if (iTaOfficeContactService.updateById(taOfficeContact)){
|
167
|
143
|
responseBean.addSuccess(taOfficeContact);
|
168
|
144
|
}else {
|