|
|
@@ -160,10 +160,6 @@ public class BaseBusiness {
|
|
|
}
|
|
|
|
|
|
// 5.发送一条消费记录到kafka(教务就餐打卡)
|
|
|
- //String pushConsume = remotePtParameterService.getPtParameterByKey("PUSH_CONSUME_MQ");
|
|
|
- //if(ObjectUtil.equals(pushConsume, "1")){
|
|
|
- // this.sendConsumeToKafka(detailVos,userAccountVo);
|
|
|
- //}
|
|
|
if (ObjectUtil.equals(defaultConfig.getLocationFlag(), DefaultConstants.LOCAL_FLAG)) {
|
|
|
this.sendConsumeToKafka(detailVos,userAccountVo);
|
|
|
}
|
|
|
@@ -329,7 +325,7 @@ public class BaseBusiness {
|
|
|
ycSendConsumeInfo.setCardNo(vo.getCardNo().toString());
|
|
|
ycSendConsumeInfo.setFactoryFixId(vo.getFactoryId().toString());
|
|
|
ycSendConsumeInfo.setConsumeValue(vo.getConsumeMoney().toString());
|
|
|
- ycSendConsumeInfo.setCardValue(DateUtil.format(vo.getConsumeDate(),DefaultConstants.DATE_TIME_FORMAT));
|
|
|
+ ycSendConsumeInfo.setCardValue(String.valueOf(vo.getConsumeBalance()));
|
|
|
ycSendConsumeInfo.setConsumeDate(vo.getConsumeDate().toString());
|
|
|
ycSendConsumeInfo.setMealTypeId(vo.getMealType().toString());
|
|
|
ycSendConsumeInfo.setMealName(vo.getMealName());
|