增加用户名称

master
bynt 12 months ago
parent 18778b40d7
commit 4b18323f43

@ -138,10 +138,11 @@ public class CustomServiceImpl extends ExtendServiceImpl<CustomMapper, CustomEnt
customEntity.setType(3);
return SqlHelper.retBool(baseMapper.updateById(customEntity));
}
Gson gson = new Gson();
Gson gson = new Gson();
AddressDTO address = new AddressDTO();
List<ClueDTO> list = Lists.newArrayList();
BeanUtils.copyProperties(customEntity, address);
address.setCustomerName(customEntity.getCustomName());
String otherClue = gson.toJson(address);
List<CustomStoreEntity> customStores = customStoreService.selectListByCustomId(id);
if (CollUtil.isNotEmpty(customStores)) {

@ -10,6 +10,10 @@ import lombok.Data;
@Data
public class AddressDTO {
@SerializedName("客户名称")
private String customerName;
@SerializedName("省份")
private String economize;

Loading…
Cancel
Save