|
@@ -34,9 +34,7 @@ public class ConsumeEventStrategyImpl implements IYktEventStrategy {
|
|
|
@Override
|
|
@Override
|
|
|
public void doMsgHandle(String eventType, Object msg) throws Exception {
|
|
public void doMsgHandle(String eventType, Object msg) throws Exception {
|
|
|
if (ObjectUtil.equals(eventType, EventTypeConstants.CONSUME)) {
|
|
if (ObjectUtil.equals(eventType, EventTypeConstants.CONSUME)) {
|
|
|
- //ConsumptionBo consumptionBo = JSONUtil.toBean(JSONUtil.parseObj(msg), ConsumptionBo.class);
|
|
|
|
|
RemoteConsumeBo recordBo = JSONUtil.toBean(JSONUtil.parseObj(msg), RemoteConsumeBo.class);
|
|
RemoteConsumeBo recordBo = JSONUtil.toBean(JSONUtil.parseObj(msg), RemoteConsumeBo.class);
|
|
|
- //RemoteConsumeBo recordBo = BeanUtil.copyProperties(consumptionBo, RemoteConsumeBo.class);
|
|
|
|
|
recordBo.setStatusFlag(4);
|
|
recordBo.setStatusFlag(4);
|
|
|
recordBo.setUseType(SystemUseTypeEnum.CONSUME);
|
|
recordBo.setUseType(SystemUseTypeEnum.CONSUME);
|
|
|
recordBo.setCreditType(CreditTypeEnum.TERM_CONSUME);
|
|
recordBo.setCreditType(CreditTypeEnum.TERM_CONSUME);
|