|
@@ -1,5 +1,7 @@
|
|
|
package com.diagbot.util;
|
|
|
+
|
|
|
import com.diagbot.dto.BillMsg;
|
|
|
+import com.diagbot.dto.OtherTipNeoDTO;
|
|
|
import com.diagbot.enums.NeoEnum;
|
|
|
import com.diagbot.enums.TypeEnum;
|
|
|
|
|
@@ -155,9 +157,10 @@ public class MsgUtil {
|
|
|
* @param content
|
|
|
* @param name
|
|
|
* @param type
|
|
|
+ * @param otherTipNeoDTO
|
|
|
* @return
|
|
|
*/
|
|
|
- public static BillMsg getCommonOtherTipLisMsg(String content, String name, String type) {
|
|
|
+ public static BillMsg getCommonOtherTipLisMsg(String content, String name, String type, OtherTipNeoDTO otherTipNeoDTO) {
|
|
|
BillMsg billMsg = new BillMsg();
|
|
|
String msg = "";
|
|
|
if (TypeEnum.disease.getName().equals(type)) {
|
|
@@ -170,6 +173,8 @@ public class MsgUtil {
|
|
|
billMsg.setMsg(msg);
|
|
|
billMsg.setContent(content);
|
|
|
billMsg.setType(type);
|
|
|
+ billMsg.setOrderName(otherTipNeoDTO.getName());
|
|
|
+ billMsg.setOrderDetailName(otherTipNeoDTO.getDetailName());
|
|
|
return billMsg;
|
|
|
}
|
|
|
|