|
|
@@ -4,6 +4,7 @@ import com.uas.platform.b2b.model.PagingRelease;
|
|
|
import com.uas.platform.b2b.model.PagingReleaseDetail;
|
|
|
import com.uas.platform.b2b.model.PurchaseInquiryItem;
|
|
|
import com.uas.platform.core.model.Constant;
|
|
|
+import com.uas.platform.core.model.Status;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
@@ -45,7 +46,13 @@ public class PurchaseInquiryItemReplyReleaseEvent extends SaveReleaseEvent<Pagin
|
|
|
String type = "回复询价单";
|
|
|
String title = "B2B商务提醒";
|
|
|
String enName = inquiryItem.getEnterprise().getEnName();
|
|
|
- String context = enName + "的" + emName + "回复了询价单(" + codeValue + ")的报价,请及时确认!";
|
|
|
+ String context;
|
|
|
+ if (inquiryItem.getStatus() == Status.REPLIED.value()) {
|
|
|
+ context = enName + "的" + emName + "修改了询价单(" + codeValue + ")的报价,请及时确认!";
|
|
|
+ } else {
|
|
|
+
|
|
|
+ context = enName + "的" + emName + "回复了询价单(" + codeValue + ")的报价,请及时确认!";
|
|
|
+ }
|
|
|
Short isReply = Constant.YES;
|
|
|
String category = "purc";
|
|
|
String table = "v$purc$inquiryitems";
|