@ -422,7 +422,7 @@ public class BuyerServiceImpl implements BuyerService {
if(StringUtils.isBlank(buyerEntity.getId())){
isAdd = true;
}
if(buyerEntity.getSynchronizeOrders()){
if(buyerEntity.getSynchronizeOrders() != null && buyerEntity.getSynchronizeOrders()){
buyerEntity.setSyncOrder("1");
}else{
buyerEntity.setSyncOrder("0");