|
@@ -161,6 +161,14 @@ public class AmstruckInwardRequirementController extends BaseRESTfulController {
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
//分页查询数据
|
|
|
List<Map<String, Object>> columnList = amstruckInwardRequirementService.getTruckRequirementList(mapValue);
|
|
|
+ columnList.forEach(e->{
|
|
|
+ String tel = e.get("Tel").toString();
|
|
|
+ if (tel.length()==11){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ String telNew=tel.substring(0,11)+"-"+tel.substring(11,tel.length());
|
|
|
+ e.put("Tel",telNew);
|
|
|
+ });
|
|
|
PageListAdd data = columnDataUtil.tableColumnData(apiId, null, columnList);
|
|
|
return success(data);
|
|
|
}
|