Commit 0c91ae54 by 翁国栋 Committed by 284718418@qq.com

8小时后台--

合同页面-已签订
面试登记表详情页面
运营后台--
企业名称重复
parent 47d19dc3
...@@ -158,4 +158,8 @@ public class InsureUser extends Model<InsureUser> { ...@@ -158,4 +158,8 @@ public class InsureUser extends Model<InsureUser> {
@ApiModelProperty(value = "批改原因") @ApiModelProperty(value = "批改原因")
private String reason; private String reason;
@ApiModelProperty(value = "批改原因")
private Date createTime;
} }
...@@ -676,6 +676,10 @@ public class QyzxController { ...@@ -676,6 +676,10 @@ public class QyzxController {
boolean b1; boolean b1;
if (q == null) { if (q == null) {
try { try {
QyzxEntInfoM gsif = QyzxEntInfoM.builder().build().selectOne(new QueryWrapper<QyzxEntInfoM>().lambda().eq(QyzxEntInfoM::getName, qyzxEntInfoM.getName()));
if(gsif!=null){
return ResultUtil.error("企业名称已存在");
}
qyzxEntInfoM.setRegisterTime(new Date()); qyzxEntInfoM.setRegisterTime(new Date());
QyzxEmpLogin login = new LambdaQueryChainWrapper<QyzxEmpLogin>(qyzxEmpLoginMapper) QyzxEmpLogin login = new LambdaQueryChainWrapper<QyzxEmpLogin>(qyzxEmpLoginMapper)
.eq(!StrUtil.hasBlank(qyzxEntInfoM.getPhone()), QyzxEmpLogin::getPhone, qyzxEntInfoM.getPhone()).one(); .eq(!StrUtil.hasBlank(qyzxEntInfoM.getPhone()), QyzxEmpLogin::getPhone, qyzxEntInfoM.getPhone()).one();
......
...@@ -518,6 +518,11 @@ public class ZpglController { ...@@ -518,6 +518,11 @@ public class ZpglController {
new QueryWrapper<ZpglRcxxTrain>().lambda().eq(ZpglRcxxTrain::getZpglRcxxId, zpglRcxxId) new QueryWrapper<ZpglRcxxTrain>().lambda().eq(ZpglRcxxTrain::getZpglRcxxId, zpglRcxxId)
.eq(ZpglRcxxTrain::getIsDelete, 0).orderByDesc(ZpglRcxxTrain::getEndTime) .eq(ZpglRcxxTrain::getIsDelete, 0).orderByDesc(ZpglRcxxTrain::getEndTime)
); );
// 家庭资料
List<ZpglRcxxJtzl> zpglRcxxJtzls = ZpglRcxxJtzl.builder().build().selectList(
new QueryWrapper<ZpglRcxxJtzl>().lambda().eq(ZpglRcxxJtzl::getZpglRcxxId, zpglRcxxId)
.eq(ZpglRcxxJtzl::getIsDelete, 0).orderByDesc(ZpglRcxxJtzl::getCreateTime)
);
// FPA性格测评数据 // FPA性格测评数据
ZpglDtk zpglDtk = ZpglDtk.builder().build().selectOne(new QueryWrapper<ZpglDtk>().lambda().eq(ZpglDtk::getZpglRcxxId, zpglRcxxId)); ZpglDtk zpglDtk = ZpglDtk.builder().build().selectOne(new QueryWrapper<ZpglDtk>().lambda().eq(ZpglDtk::getZpglRcxxId, zpglRcxxId));
...@@ -533,6 +538,7 @@ public class ZpglController { ...@@ -533,6 +538,7 @@ public class ZpglController {
map.put("zpglRcxxTrains", zpglRcxxTrains); map.put("zpglRcxxTrains", zpglRcxxTrains);
map.put("zpglDtk", zpglDtk); map.put("zpglDtk", zpglDtk);
map.put("zpglRcxxOffer", zpglRcxxOffer); map.put("zpglRcxxOffer", zpglRcxxOffer);
map.put("zpglRcxxJtzls",zpglRcxxJtzls);
return ResultUtil.data(map, "搜索成功"); return ResultUtil.data(map, "搜索成功");
} catch (Exception e) { } catch (Exception e) {
......
package cn.timer.api.dao.yggl; package cn.timer.api.dao.yggl;
import cn.timer.api.dto.yggl.HtgkDto; import cn.timer.api.dto.yggl.HtgkDto;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
...@@ -18,6 +19,8 @@ public interface YgglAttaHtxxbMapper extends BaseMapper<YgglAttaHtxxb> { ...@@ -18,6 +19,8 @@ public interface YgglAttaHtxxbMapper extends BaseMapper<YgglAttaHtxxb> {
List<HtgkDto> queryContract(@Param("orgCode") Integer orgCode); List<HtgkDto> queryContract(@Param("orgCode") Integer orgCode);
List<HtgkDto> selectListByType(@Param("type") Integer type);
} }
...@@ -29,4 +29,17 @@ public class HtgkDto implements Serializable{ ...@@ -29,4 +29,17 @@ public class HtgkDto implements Serializable{
@ApiModelProperty(value="合同签约公司",example="合同签约公司") @ApiModelProperty(value="合同签约公司",example="合同签约公司")
private String companyName; private String companyName;
@ApiModelProperty(value="id",example="合同签约公司")
private Integer id;
private String userName;
private String headUrl;
private String deptName;
private Integer jobType;
private String htId;
private Integer type;
private Integer status;
private Integer htqx;
private Date statTime;
private Date endTime;
private Integer empNum;
} }
...@@ -312,10 +312,11 @@ ...@@ -312,10 +312,11 @@
and iu.insure_status = #{policyDto.status} and iu.insure_status = #{policyDto.status}
</if> </if>
</where> </where>
order by iu.policy_date_start desc
<if test="policyDto.page.offset != null and policyDto.page.totalPage !=null"> <if test="policyDto.page.offset != null and policyDto.page.totalPage !=null">
LIMIT #{policyDto.page.offset},#{policyDto.page.totalPage} LIMIT #{policyDto.page.offset},#{policyDto.page.totalPage}
</if> </if>
order by iu.policy_date_start desc
</select> </select>
<select id="totalUser" resultType="java.lang.Integer"> <select id="totalUser" resultType="java.lang.Integer">
......
...@@ -167,4 +167,27 @@ ...@@ -167,4 +167,27 @@
FROM `zpgl_company` zc FROM `zpgl_company` zc
</select> </select>
<select id="selectListByType" resultType="cn.timer.api.dto.yggl.HtgkDto">
SELECT
yh.id as id,
yh.emp_num as empNum,
ye.name as userName,
ye.head_url as headUrl,
zm.name as deptName,
ye.job_type as jobType,
yh.ht_id as htId,
yh.type as type,
zc.company_name as companyName,
yh.status as status,
yh.htqx as htqx,
yh.start_time as statTime,
yh.end_time as endTime
FROM
yggl_atta_htxxb yh
LEFT JOIN yggl_main_emp ye ON ( ye.emp_num = yh.emp_num AND ye.org_code = yh.org_code )
LEFT JOIN zzgl_bmgw_m zm ON zm.id = ye.bmgw_id
LEFT JOIN zpgl_company zc ON zc.id = yh.htqygs
where yh.jc_status = #{type}
</select>
</mapper> </mapper>
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