feat:保留两位
This commit is contained in:
@@ -14,6 +14,7 @@ import com.cool.store.enums.point.ShopSubStageStatusEnum;
|
|||||||
import com.cool.store.exception.ServiceException;
|
import com.cool.store.exception.ServiceException;
|
||||||
import com.cool.store.service.InvoicingService;
|
import com.cool.store.service.InvoicingService;
|
||||||
import com.cool.store.service.PreparationService;
|
import com.cool.store.service.PreparationService;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
@@ -26,6 +27,7 @@ import javax.annotation.Resource;
|
|||||||
* @Version 1.0
|
* @Version 1.0
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
|
@Slf4j
|
||||||
public class InvoicingServiceImpl implements InvoicingService {
|
public class InvoicingServiceImpl implements InvoicingService {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
@@ -91,6 +93,7 @@ public class InvoicingServiceImpl implements InvoicingService {
|
|||||||
InvoicingDO invoicingDO = invoicingDAO.getByShopId(shopId);
|
InvoicingDO invoicingDO = invoicingDAO.getByShopId(shopId);
|
||||||
InvoicingDTO invoicingDTO = new InvoicingDTO();
|
InvoicingDTO invoicingDTO = new InvoicingDTO();
|
||||||
BeanUtil.copyProperties(invoicingDO, invoicingDTO);
|
BeanUtil.copyProperties(invoicingDO, invoicingDTO);
|
||||||
|
log.info("invoicingDO:{}",invoicingDO);
|
||||||
return invoicingDTO;
|
return invoicingDTO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user