Commit aa17893f by qwmqiuwenmin

fix

parent c0dd33d8
...@@ -27,8 +27,8 @@ public class MaidianLogController extends WebBaseController{ ...@@ -27,8 +27,8 @@ public class MaidianLogController extends WebBaseController{
List<MaidianLogDTO> maidianLogDTOList = JSON.parseArray(maidianLogStr,MaidianLogDTO.class); List<MaidianLogDTO> maidianLogDTOList = JSON.parseArray(maidianLogStr,MaidianLogDTO.class);
for (MaidianLogDTO maidianLogDTO : maidianLogDTOList) { for (MaidianLogDTO maidianLogDTO : maidianLogDTOList) {
String options = maidianLogDTO.getOptions(); String options = maidianLogDTO.getOptions();
if(StringUtils.isNotBlank(options) && options.length() > 128){ if(StringUtils.isNotBlank(options) && options.length() > 2000){
maidianLogDTO.setOptions(options.substring(0,127)); maidianLogDTO.setOptions(options.substring(0,1999));
} }
maidianLogApiService.insert(maidianLogDTO); maidianLogApiService.insert(maidianLogDTO);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment