Commit c370753b authored by hongguangwu's avatar hongguangwu

合同相关\社保公积金相关

parent b758db33
...@@ -251,8 +251,8 @@ public class TEmployeeInfoController { ...@@ -251,8 +251,8 @@ public class TEmployeeInfoController {
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo> * @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo>
**/ **/
@Inner @Inner
@GetMapping("/inner/getByEmpId") @PostMapping("/inner/getByEmpId")
public TEmployeeInfo getByEmpId(@RequestParam String empId) { public TEmployeeInfo getByEmpId(@RequestBody String empId) {
return tEmployeeInfoService.getById(empId); return tEmployeeInfoService.getById(empId);
} }
......
...@@ -118,7 +118,7 @@ public class ArchivesDaprUtil { ...@@ -118,7 +118,7 @@ public class ArchivesDaprUtil {
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo> * @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo>
**/ **/
public R<TEmployeeInfo> getTEmployeeInfoById(String empId) { public R<TEmployeeInfo> getTEmployeeInfoById(String empId) {
R<TEmployeeInfo> res = HttpDaprUtil.invokeMethodGet( R<TEmployeeInfo> res = HttpDaprUtil.invokeMethodPost(
daprArchivesProperties.getAppUrl(),daprArchivesProperties.getAppId() daprArchivesProperties.getAppUrl(),daprArchivesProperties.getAppId()
,"/temployeeinfo/inner/getByEmpId" , empId, TEmployeeInfo.class, SecurityConstants.FROM_IN); ,"/temployeeinfo/inner/getByEmpId" , empId, TEmployeeInfo.class, SecurityConstants.FROM_IN);
if (Common.isEmpty(res)){ if (Common.isEmpty(res)){
......
...@@ -21,13 +21,12 @@ import com.baomidou.mybatisplus.annotation.IdType; ...@@ -21,13 +21,12 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute; import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date; import java.util.Date;
/** /**
...@@ -38,9 +37,8 @@ import java.util.Date; ...@@ -38,9 +37,8 @@ import java.util.Date;
*/ */
@Data @Data
@TableName("t_audit_info" ) @TableName("t_audit_info" )
@EqualsAndHashCode(callSuper = true)
@Schema(description = "审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)" ) @Schema(description = "审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)" )
public class TAuditInfo extends BaseEntity { public class TAuditInfo implements Serializable {
/** /**
* 主键 * 主键
......
...@@ -32,7 +32,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; ...@@ -32,7 +32,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants; import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.*; import com.yifu.cloud.plus.v1.yifu.common.core.util.*;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import com.yifu.cloud.plus.v1.yifu.social.entity.TAuditInfo; import com.yifu.cloud.plus.v1.yifu.social.entity.TAuditInfo;
import com.yifu.cloud.plus.v1.yifu.social.mapper.TAuditInfoMapper; import com.yifu.cloud.plus.v1.yifu.social.mapper.TAuditInfoMapper;
import com.yifu.cloud.plus.v1.yifu.social.service.TAuditInfoService; import com.yifu.cloud.plus.v1.yifu.social.service.TAuditInfoService;
...@@ -141,7 +140,7 @@ public class TAuditInfoServiceImpl extends ServiceImpl<TAuditInfoMapper, TAuditI ...@@ -141,7 +140,7 @@ public class TAuditInfoServiceImpl extends ServiceImpl<TAuditInfoMapper, TAuditI
if (searchVo.getLimitStart() >= 0 && searchVo.getLimitEnd() > 0){ if (searchVo.getLimitStart() >= 0 && searchVo.getLimitEnd() > 0){
wrapper.last(" limit "+ searchVo.getLimitStart() +","+ searchVo.getLimitEnd()); wrapper.last(" limit "+ searchVo.getLimitStart() +","+ searchVo.getLimitEnd());
} }
wrapper.orderByDesc(BaseEntity::getCreateTime); wrapper.orderByDesc(TAuditInfo::getAuditTime);
return baseMapper.selectList(wrapper); return baseMapper.selectList(wrapper);
} }
...@@ -157,12 +156,12 @@ public class TAuditInfoServiceImpl extends ServiceImpl<TAuditInfoMapper, TAuditI ...@@ -157,12 +156,12 @@ public class TAuditInfoServiceImpl extends ServiceImpl<TAuditInfoMapper, TAuditI
private LambdaQueryWrapper buildQueryWrapper(TAuditInfoSearchVo entity){ private LambdaQueryWrapper buildQueryWrapper(TAuditInfoSearchVo entity){
LambdaQueryWrapper<TAuditInfo> wrapper = Wrappers.lambdaQuery(); LambdaQueryWrapper<TAuditInfo> wrapper = Wrappers.lambdaQuery();
if (ArrayUtil.isNotEmpty(entity.getCreateTimes())) { if (ArrayUtil.isNotEmpty(entity.getCreateTimes())) {
wrapper.ge(TAuditInfo::getCreateTime, entity.getCreateTimes()[0]) wrapper.ge(TAuditInfo::getAuditTime, entity.getCreateTimes()[0])
.le(TAuditInfo::getCreateTime, .le(TAuditInfo::getAuditTime,
entity.getCreateTimes()[1]); entity.getCreateTimes()[1]);
} }
if (Common.isNotNull(entity.getCreateName())){ if (Common.isNotNull(entity.getAuditUser())){
wrapper.eq(TAuditInfo::getCreateName,entity.getCreateName()); wrapper.eq(TAuditInfo::getAuditUser,entity.getAuditUser());
} }
return wrapper; return wrapper;
} }
......
...@@ -324,7 +324,7 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe ...@@ -324,7 +324,7 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
// 流程进展明细 // 流程进展明细
List<TAuditInfo> auditInfoList = tAuditInfoService.list(Wrappers.<TAuditInfo>query().lambda() List<TAuditInfo> auditInfoList = tAuditInfoService.list(Wrappers.<TAuditInfo>query().lambda()
.eq(TAuditInfo::getEmpIdcard, socialFundInfo.getEmpIdcard()) .eq(TAuditInfo::getEmpIdcard, socialFundInfo.getEmpIdcard())
.orderByDesc(TAuditInfo::getCreateTime)); .orderByDesc(TAuditInfo::getAuditTime));
detailVo.setAuditList(auditInfoList); detailVo.setAuditList(auditInfoList);
} }
return detailVo; return detailVo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment