更改ec日志展示
This commit is contained in:
@@ -109,7 +109,11 @@ public class HyPartnerEcTrackLogDO implements Serializable {
|
||||
*/
|
||||
public static String getDetailContentJoint(HyPartnerEcTrackLogDO ecLogVo){
|
||||
if (StringUtils.isNotEmpty(ecLogVo.getContent())) {
|
||||
return ecLogVo.getContent();
|
||||
String str = ecLogVo.getContent();
|
||||
if (str.contains("[mobile]")||str.contains("[/mobile]")) {
|
||||
str = str.replaceAll("\\[mobile]", "").replaceAll("\\[/mobile]", "");
|
||||
}
|
||||
return str;
|
||||
}
|
||||
StringBuilder detailContent = new StringBuilder();
|
||||
Integer trajectoryType = ecLogVo.getTrajectoryType();
|
||||
@@ -120,7 +124,7 @@ public class HyPartnerEcTrackLogDO implements Serializable {
|
||||
detailContent.append(TrajectoryTypeEnum.ALLOCATION_CUSTOMER.getJointText()).append(ecLogVo.getReceiveUser());
|
||||
}
|
||||
if (trajectoryType.equals(TrajectoryTypeEnum.GET_CUSTOMER.getValue())) {
|
||||
detailContent.append(ecLogVo.getReceiveUser()).append(TrajectoryTypeEnum.GET_CUSTOMER.getJointText());
|
||||
detailContent.append(ecLogVo.getUserName()).append(TrajectoryTypeEnum.GET_CUSTOMER.getJointText());
|
||||
}
|
||||
if (StringUtils.isEmpty(detailContent)) {
|
||||
detailContent.append(TrajectoryTypeEnum.getShowText(trajectoryType));
|
||||
|
||||
Reference in New Issue
Block a user