|
|
|
@ -1,26 +0,0 @@ |
|
|
|
package com.qniao.dam.application.service.par; |
|
|
|
|
|
|
|
import com.qniao.dam.domain.aggregate.par.PointAccountRecordAggregate; |
|
|
|
import com.qniao.dam.domain.aggregate.pointaccount.valueobj.PointAccountRecord; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
@Service |
|
|
|
public class PointAccountRecordApplicationService { |
|
|
|
|
|
|
|
@Resource |
|
|
|
private PointAccountRecordAggregate pointAccountRecordAggregate; |
|
|
|
|
|
|
|
public void create(PointAccountRecord pointAccountRecord) { |
|
|
|
pointAccountRecordAggregate.create(pointAccountRecord); |
|
|
|
} |
|
|
|
|
|
|
|
public void edit(PointAccountRecord pointAccountRecord) { |
|
|
|
pointAccountRecordAggregate.edit(pointAccountRecord); |
|
|
|
} |
|
|
|
|
|
|
|
public void delete(Long id) { |
|
|
|
pointAccountRecordAggregate.delete(id); |
|
|
|
} |
|
|
|
} |