Commit 7cc0e978 by zhangxingmin

push

parent 7b3612d4
...@@ -26,6 +26,8 @@ import lombok.extern.slf4j.Slf4j; ...@@ -26,6 +26,8 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
...@@ -130,6 +132,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService { ...@@ -130,6 +132,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
* @return * @return
*/ */
@Override @Override
@Transactional(rollbackFor = Exception.class)
public Result add(ApiAppointmentAddRequest request) { public Result add(ApiAppointmentAddRequest request) {
//新增预约入参字段校验(非库校验) //新增预约入参字段校验(非库校验)
apiAppointmentCheckService.checkAddRequest(request); apiAppointmentCheckService.checkAddRequest(request);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment