Commit d79ca33c authored by hongguangwu's avatar hongguangwu

MVP1.7.16-优化

parent 26b5b289
......@@ -102,6 +102,7 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
@Autowired
private TDispatchInfoMapper dispatchInfoMapper;
private final static String AND_STR = "&";
/**
* @Description: 推送到税友
* @Author: hgw
......@@ -1532,7 +1533,7 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
}
if (key.contains(CommonConstants.QIAN_MING)) {
// 签名样式
qianMingArr = key.split("&");
qianMingArr = key.split(AND_STR);
if (qianMingArr.length>1) {
key = qianMingArr[1];
} else {
......@@ -1542,11 +1543,18 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
setQianMingStyle(cell, newValue);
} else if (key.contains(CommonConstants.GU_DING)) {
// 固定文字
qianMingArr = key.split("&");
qianMingArr = key.split(AND_STR);
if (qianMingArr.length>1) {
key = qianMingArr[1];
cell.setCellValue(key);
}
} else if (key.contains(AND_STR)) {
qianMingArr = key.split(AND_STR);
newValue = "";
for (String s : qianMingArr) {
newValue += getFieldValue(vo, s);
}
cell.setCellValue(newValue);
} else {
newValue = getFieldValue(vo, key);
cell.setCellValue(newValue);
......
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