Browse Source

emm

dev_shibei_match
zxc 4 years ago
parent
commit
1891fa1626
  1. 5
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcPartyServiceCenterServiceImpl.java

5
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcPartyServiceCenterServiceImpl.java

@ -138,6 +138,7 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ
* @date 2021/11/22 9:13 上午
*/
@Override
@Transactional(rollbackFor = Exception.class)
public void addPartyServiceCenter(AddPartyServiceCenterFormDTO formDTO, TokenDto tokenDto) {
String customerId = tokenDto.getCustomerId();
LambdaQueryWrapper<IcPartyServiceCenterEntity> l = new LambdaQueryWrapper<>();
@ -188,6 +189,7 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ
* @date 2021/11/22 10:21 上午
*/
@Override
@Transactional(rollbackFor = Exception.class)
public void editPartyServiceCenter(EditPartyServiceCenterFormDTO formDTO, TokenDto tokenDto) {
LambdaQueryWrapper<IcPartyServiceCenterEntity> l = new LambdaQueryWrapper<>();
l.eq(IcPartyServiceCenterEntity::getCenterName,formDTO.getCenterName())
@ -246,6 +248,7 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ
* @date 2021/11/22 1:25 下午
*/
@Override
@Transactional(rollbackFor = Exception.class)
public void delMatter(DelMatterFormDTO formDTO) {
LambdaQueryWrapper<IcMatterAppointmentRecordEntity> re = new LambdaQueryWrapper<>();
re.eq(BaseEpmetEntity::getDelFlag,NumConstant.ZERO).
@ -266,6 +269,7 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ
* @date 2021/11/22 2:06 下午
*/
@Override
@Transactional(rollbackFor = Exception.class)
public void appointment(AppointmentFormDTO formDTO, TokenDto tokenDto) {
String customerId = tokenDto.getCustomerId();
LambdaQueryWrapper<IcMatterAppointmentRecordEntity> l = new LambdaQueryWrapper<>();
@ -426,6 +430,7 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ
* @date 2021/11/26 5:21 下午
*/
@Override
@Transactional(rollbackFor = Exception.class)
public void cancelAppointment(CancelAppointmentFormDTO formDTO) {
matterAppointmentRecordDao.cancelAppointment(formDTO.getRecordId(), formDTO.getUserId());
}

Loading…
Cancel
Save