食谱计划页面弹窗样式优化、按天提成列表增加一列
This commit is contained in:
@ -70,7 +70,9 @@ public class SysCustomerController extends BaseController
|
||||
customerListResponse = ObjectUtils.getObjectByObject(customer.getSign(), CustomerListResponse.class);
|
||||
customerListResponse.setCreateTime(customer.getCreateTime());
|
||||
customerListResponse.setName(customer.getName());
|
||||
customerListResponse.setPhone(customer.getPhone());
|
||||
if(StringUtils.isNotEmpty(customer.getPhone())){
|
||||
customerListResponse.setPhone(StringUtils.hiddenPhoneNumber(customer.getPhone()));
|
||||
}
|
||||
StringBuilder signStr = new StringBuilder();
|
||||
if(customer.getSign().getSignList() != null && customer.getSign().getSignList().size() > 0){
|
||||
int i = 0;
|
||||
|
@ -1,6 +1,8 @@
|
||||
package com.stdiet.web.controller.custom;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.stdiet.common.utils.StringUtils;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@ -35,6 +37,11 @@ public class SysRecipesPlanController extends BaseController
|
||||
{
|
||||
startPage();
|
||||
List<SysRecipesPlan> list = sysRecipesPlanService.selectPlanListByCondition(sysRecipesPlan);
|
||||
for(SysRecipesPlan plan : list){
|
||||
if(StringUtils.isNotEmpty(plan.getPhone())){
|
||||
plan.setHidePhone(StringUtils.hiddenPhoneNumber(plan.getPhone()));
|
||||
}
|
||||
}
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ -80,6 +87,11 @@ public class SysRecipesPlanController extends BaseController
|
||||
public AjaxResult export(SysRecipesPlan sysRecipesPlan)
|
||||
{
|
||||
List<SysRecipesPlan> list = sysRecipesPlanService.selectPlanListByCondition(sysRecipesPlan);
|
||||
for(SysRecipesPlan plan : list){
|
||||
if(StringUtils.isNotEmpty(plan.getPhone())){
|
||||
plan.setHidePhone(StringUtils.hiddenPhoneNumber(plan.getPhone()));
|
||||
}
|
||||
}
|
||||
ExcelUtil<SysRecipesPlan> util = new ExcelUtil<SysRecipesPlan>(SysRecipesPlan.class);
|
||||
return util.exportExcel(list, "recipesPlan");
|
||||
}
|
||||
|
Reference in New Issue
Block a user