|
@@ -4,6 +4,7 @@ import com.caimei365.order.mapper.cmOfflineCollectionMapper;
|
|
|
import com.caimei365.order.model.ResponseJson;
|
|
|
import com.caimei365.order.model.po.cmOfflineCollectionPo;
|
|
|
import com.caimei365.order.service.cmOfflineCollectionService;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
@@ -14,6 +15,7 @@ import javax.annotation.Resource;
|
|
|
* @author : Charles
|
|
|
* @date : 2022/9/26
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@Service
|
|
|
public class cmOfflineCollectionServiceImpl implements cmOfflineCollectionService {
|
|
|
|
|
@@ -26,7 +28,8 @@ public class cmOfflineCollectionServiceImpl implements cmOfflineCollectionServic
|
|
|
@Override
|
|
|
public ResponseJson<cmOfflineCollectionPo> seData() {
|
|
|
cmOfflineCollectionPo collectionPo = cmOfflineCollectionMapper.seData();
|
|
|
- if (collectionPo.getId() == null) {
|
|
|
+ log.info("**********"+collectionPo+"***********");
|
|
|
+ if (collectionPo == null) {
|
|
|
return ResponseJson.error("银行账户查询失败,请联系管理员");
|
|
|
}
|
|
|
return ResponseJson.success(collectionPo);
|