修复合同参数

This commit is contained in:
huangdeliang
2020-11-29 23:36:23 +08:00
parent efc07c6b90
commit 37a9386333
9 changed files with 178 additions and 22 deletions

View File

@ -129,6 +129,7 @@ public class SysWxUserInfoController extends BaseController {
wxServeInfo.setServeTime(list.get(0).getServeTime());
wxServeInfo.setStartTime(list.get(list.size() - 1).getStartTime());
wxServeInfo.setWeight(list.get(list.size() - 1).getWeight());
wxServeInfo.setPhone(list.get(0).getPhone());
return AjaxResult.success(wxServeInfo);
}

View File

@ -10,6 +10,7 @@ import com.stdiet.common.utils.poi.ExcelUtil;
import com.stdiet.custom.domain.SysOrder;
import com.stdiet.custom.domain.SysWxUserInfo;
import com.stdiet.custom.domain.SysWxUserLog;
import com.stdiet.custom.page.WxLogInfo;
import com.stdiet.custom.service.ISysOrderService;
import com.stdiet.custom.service.ISysWxUserInfoService;
import com.stdiet.custom.service.ISysWxUserLogService;
@ -98,11 +99,9 @@ public class SysWxUserLogController extends BaseController {
return toAjax(sysWxUserLogService.deleteSysWxUserLogByIds(openids));
}
@GetMapping(value = "/wx/logs/{openid}")
public AjaxResult getLogs(@PathVariable String openId) {
SysWxUserLog querySysWxUserLog = new SysWxUserLog();
querySysWxUserLog.setOpenid(openId);
List<SysWxUserLog> list = sysWxUserLogService.selectSysWxUserLogList(querySysWxUserLog);
@GetMapping(value = "/wx/logs/list")
public AjaxResult getLogs(SysWxUserLog sysWxUserLog ) {
List<WxLogInfo> list = sysWxUserLogService.selectWxLogInfoList(sysWxUserLog);
return AjaxResult.success(list);
}