|
@@ -105,6 +105,11 @@ public class RepairApplicationFormServiceImpl extends BaseServiceImpl<RepairAppl
|
|
private final SysUserMapper userMapper;
|
|
private final SysUserMapper userMapper;
|
|
@Resource
|
|
@Resource
|
|
JavaMailSenderImpl mailSender;
|
|
JavaMailSenderImpl mailSender;
|
|
|
|
+ @Override
|
|
|
|
+ public void refuseOrder(RepairApplicationFormDTO repairApplicationFormDTO) {
|
|
|
|
+ repairApplicationFormDTO.setStatus(RepairApplicationFormStatusEnum.REFUSED.getValue());
|
|
|
|
+ mapper.updateByPrimaryKeySelective(BeanConverterUtil.copyObjectProperties(repairApplicationFormDTO,RepairApplicationForm.class));
|
|
|
|
+ }
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void sendMessage() {
|
|
public void sendMessage() {
|