修改三方验收bug
This commit is contained in:
@@ -10,6 +10,7 @@ import com.cool.store.request.ThreeAcceptanceRequest;
|
||||
import com.cool.store.request.BookingAcceptanceRequest;
|
||||
import com.cool.store.response.FitmentResponse;
|
||||
import com.cool.store.response.ThreeAcceptanceResponse;
|
||||
import com.cool.store.response.ThreeSignResponse;
|
||||
import com.cool.store.vo.Fitment.DecorationStageVO;
|
||||
import com.cool.store.vo.Fitment.DecorationModelVO;
|
||||
import com.cool.store.vo.Fitment.DesignInfoVo;
|
||||
@@ -119,12 +120,7 @@ public interface DecorationService {
|
||||
* @description:预约验收
|
||||
*/
|
||||
Boolean bookingAcceptance(BookingAcceptanceRequest response);
|
||||
/**
|
||||
* @Auther: wangshuo
|
||||
* @Date: 2024/4/29
|
||||
* @description:查看三方验收
|
||||
*/
|
||||
ThreeAcceptanceResponse getThreeAcceptance(Long shopId);
|
||||
|
||||
/**
|
||||
* @Auther: wangshuo
|
||||
* @Date: 2024/5/3
|
||||
|
||||
@@ -22,6 +22,7 @@ import com.cool.store.request.ThreeAcceptanceRequest;
|
||||
import com.cool.store.request.BookingAcceptanceRequest;
|
||||
import com.cool.store.response.FitmentResponse;
|
||||
import com.cool.store.response.ThreeAcceptanceResponse;
|
||||
import com.cool.store.response.ThreeSignResponse;
|
||||
import com.cool.store.service.*;
|
||||
import com.cool.store.utils.poi.StringUtils;
|
||||
import com.cool.store.vo.Fitment.DecorationStageVO;
|
||||
@@ -633,6 +634,7 @@ public class DecorationServiceImpl implements DecorationService {
|
||||
engineeringDTO.setAcceptanceSignatures(engineering.getString("pic"));
|
||||
engineeringDTO.setComments(engineering.getString("remark"));
|
||||
engineeringDTO.setResultType(engineering.getInteger("result"));
|
||||
engineeringDTO.setAcceptanceTime(engineering.getString("acceptanceTime"));
|
||||
threeAcceptanceDTOS.add(CommonConstants.ZERO, engineeringDTO);
|
||||
}
|
||||
//营运部
|
||||
@@ -642,6 +644,7 @@ public class DecorationServiceImpl implements DecorationService {
|
||||
operationsDTO.setAcceptanceSignatures(operations.getString("pic"));
|
||||
operationsDTO.setComments(operations.getString("remark"));
|
||||
operationsDTO.setResultType(operations.getInteger("result"));
|
||||
operationsDTO.setAcceptanceTime(operations.getString("acceptanceTime"));
|
||||
threeAcceptanceDTOS.add(CommonConstants.ONE, operationsDTO);
|
||||
}
|
||||
//加盟商
|
||||
@@ -651,6 +654,7 @@ public class DecorationServiceImpl implements DecorationService {
|
||||
partnerDTO.setAcceptanceSignatures(partner.getString("pic"));
|
||||
partnerDTO.setComments(partner.getString("remark"));
|
||||
partnerDTO.setResultType(partner.getInteger("result"));
|
||||
partnerDTO.setAcceptanceTime(partner.getString("acceptanceTime"));
|
||||
threeAcceptanceDTOS.add(CommonConstants.TWO, partnerDTO);
|
||||
}
|
||||
return threeAcceptanceDTOS;
|
||||
@@ -667,14 +671,7 @@ public class DecorationServiceImpl implements DecorationService {
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ThreeAcceptanceResponse getThreeAcceptance(Long shopId) {
|
||||
AcceptanceInfoDO acceptanceInfoDO = acceptanceInfoDAO.selectByShopId(shopId);
|
||||
ThreeAcceptanceResponse response = new ThreeAcceptanceResponse();
|
||||
BeanUtil.copyProperties(acceptanceInfoDO, response);
|
||||
response.setAcceptanceTime(acceptanceInfoDO.getUpdateTime());
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
private DecorationDTO getDecorationDTO(Long shopId) {
|
||||
List<Long> shopIds = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user