|
|
@@ -1596,7 +1596,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int getGzgsNum() {
|
|
|
+ public long getGzgsNum() {
|
|
|
QueryWrapper<GzgsPO> queryWrapper = new QueryWrapper();
|
|
|
CurrentUser currentUser = getCurrentUser();
|
|
|
String userid = currentUser.getUsername() == null ? "" : currentUser.getUsername().trim();
|
|
|
@@ -1611,7 +1611,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int getSczwNum() {
|
|
|
+ public long getSczwNum() {
|
|
|
QueryWrapper<GwxxPO> queryWrapper = new QueryWrapper();
|
|
|
CurrentUser currentUser = getCurrentUser();
|
|
|
String userid = currentUser.getUsername() == null ? "" : currentUser.getUsername().trim();
|
|
|
@@ -1625,7 +1625,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int getSqzwNum() {
|
|
|
+ public long getSqzwNum() {
|
|
|
QueryWrapper<GwxxPO> queryWrapper = new QueryWrapper();
|
|
|
CurrentUser currentUser = getCurrentUser();
|
|
|
String userid = currentUser.getUsername() == null ? "" : currentUser.getUsername().trim();
|
|
|
@@ -1647,7 +1647,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
QueryWrapper<GwxxPO> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.eq("gwzt", "1");
|
|
|
- int count = this.gwxxMapper.selectCount(queryWrapper);
|
|
|
+ long count = this.gwxxMapper.selectCount(queryWrapper);
|
|
|
if (count != 0) {
|
|
|
throw new AppException("您已收藏过该职位!");
|
|
|
} else {
|
|
|
@@ -1670,7 +1670,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
QueryWrapper<GwxxPO> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.eq("gwzt", "2");
|
|
|
- int count = this.gwxxMapper.selectCount(queryWrapper);
|
|
|
+ long count = this.gwxxMapper.selectCount(queryWrapper);
|
|
|
if (count != 0) {
|
|
|
throw new AppException("您已投递过该职位,请勿重复投递");
|
|
|
} else {
|
|
|
@@ -1835,7 +1835,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
// CurrentUser currentUser = getCurrentUser();
|
|
|
// String userid = currentUser.getUsername() == null ? "" : currentUser.getUsername().trim();
|
|
|
// if (StringUtils.isNotBlank(userid)){
|
|
|
- int cnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
+ long cnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
.eq("rs_rlzy_jlxx", id)
|
|
|
.eq("fbzt", "1"));
|
|
|
if (cnt > 0) {
|
|
|
@@ -1852,7 +1852,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
if (userid == null) {
|
|
|
return isfb(id);
|
|
|
} else {
|
|
|
- int cnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>().eq("rs_rlzy_jlxx", id)
|
|
|
+ long cnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>().eq("rs_rlzy_jlxx", id)
|
|
|
.eq(StringUtils.isNotBlank(userid), "rs_yhlsh", userid));
|
|
|
LOG.info(id + " " + userid + " ");
|
|
|
if (cnt > 0) {
|
|
|
@@ -1926,7 +1926,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
|
|
|
if (StringUtils.isNotBlank(userid) && StringUtils.isNotBlank(jlssr)) {
|
|
|
//查询现在拥有简历个数
|
|
|
- int jltotalcnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
+ long jltotalcnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
.eq("ts_yxbz", "1")
|
|
|
.eq("sfjdjl","0"));
|
|
|
if (jltotalcnt >= 10) {
|
|
|
@@ -1953,7 +1953,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
String jlmc = "";
|
|
|
//复制的简历名始终是我的简历(数字递增)
|
|
|
//查询数据库里面我的简历的最大数字
|
|
|
- int jlmccnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
+ long jlmccnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
.eq("rs_yhlsh",jlssr)
|
|
|
.like("jlmc", "我的简历(%"));
|
|
|
jbxxdto.setJlmc(jlmc);
|
|
|
@@ -2076,6 +2076,11 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void exportMyJlxx(ExportJlDTO dto, javax.servlet.http.HttpServletResponse res) throws IllegalAccessException, IOException, InvocationTargetException {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void exportMyJlxx(ExportJlDTO dto, HttpServletResponse res) throws IllegalAccessException, IOException, InvocationTargetException {
|
|
|
String rsrlzyjlxxlsh = dto.getZjlsh();
|
|
|
@@ -2260,7 +2265,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
LOG.info("新增个人简历信息.................." + userid);
|
|
|
//新增
|
|
|
//查询现在拥有简历个数
|
|
|
- int jltotalcnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
+ long jltotalcnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
.eq("ts_yxbz", "1")
|
|
|
.eq("sfjdjl","0")
|
|
|
.eq("rs_yhlsh", jlssr));
|
|
|
@@ -2585,7 +2590,7 @@ public class GrqzBLOimpl extends BLOImpl implements GrqzBLO {
|
|
|
//校验要发布的简历是否审核通过
|
|
|
CurrentUser currentUser = getCurrentUser();
|
|
|
String userid = currentUser.getUsername() == null ? "" : currentUser.getUsername().trim();
|
|
|
- int cnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
+ long cnt = jlxxMapper.selectCount(new QueryWrapper<JlxxPO>()
|
|
|
.eq("rs_rlzy_jlxx", dto.getZjlsh())
|
|
|
.eq("rs_rg_jbxx_jlzt", "1"));
|
|
|
if (cnt > 0) {
|