Browse Source

新需求

魏超 5 years ago
parent
commit
2642960d0b

+ 4
- 1
src/main/java/com/huiju/estateagents/sample/controller/TaH5SampleController.java View File

@@ -186,7 +186,10 @@ public class TaH5SampleController extends BaseController {
186 186
     public ResponseBean taH5SampleGet(@PathVariable Integer id) {
187 187
         ResponseBean responseBean = new ResponseBean();
188 188
         try {
189
-            responseBean.addSuccess(iTaH5SampleService.getById(id));
189
+            TaH5Sample taH5Sample = iTaH5SampleService.getById(id);
190
+            IPage<TaContact> taContactIPage = taContactService.taContactInfoBySampleId(String.valueOf(id), 1 , 10);
191
+            taH5Sample.setTaContactList(taContactIPage.getRecords());
192
+            responseBean.addSuccess(taH5Sample);
190 193
         } catch (Exception e) {
191 194
             e.printStackTrace();
192 195
             logger.error("taH5SampleDelete -=- {}", e.toString());