|
|
@@ -1,6 +1,7 @@
|
|
|
package com.xjrsoft.module.student.service.impl;
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.github.yulichang.base.MPJBaseServiceImpl;
|
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
|
@@ -39,7 +40,7 @@ import java.util.Map;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
|
-* @title:
|
|
|
+* @title:
|
|
|
* @Author dzx
|
|
|
* @Date: 2024-03-13
|
|
|
* @Version 1.0
|
|
|
@@ -248,4 +249,17 @@ public class PbVXsxxsfytbServiceImpl extends MPJBaseServiceImpl<PbVXsxxsfytbMapp
|
|
|
public List<FeeDetailListVo> getFeeDetail(String studentcode) {
|
|
|
return pbVXsxxsfytbMapper.getFeeDetail(studentcode);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public Long getIsArrears(String credentialNumber) {
|
|
|
+ Long l = pbVXsxxsfytbMapper.selectCount(
|
|
|
+ new QueryWrapper<PbVXsxxsfytb>().lambda()
|
|
|
+ .eq(PbVXsxxsfytb::getStudentcode, credentialNumber)
|
|
|
+ .ge(PbVXsxxsfytb::getQfje, 0)
|
|
|
+ );
|
|
|
+ if(l > 1){
|
|
|
+ l = 1L;
|
|
|
+ }
|
|
|
+ return l;
|
|
|
+ }
|
|
|
}
|