Commit 0855d150 by 翁国栋 Committed by 284718418@qq.com

8小时后台--

修改投保条件为不同月份可重复投递一个人
parent 496a7947
......@@ -10,7 +10,7 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;
import javax.persistence.Transient;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
......@@ -167,4 +167,9 @@ public class InsureUser extends Model<InsureUser> {
@TableField(exist = false)
@ApiModelProperty(value = "导入备注")
private String remake;
@Transient
@TableField(exist = false)
@ApiModelProperty(value="新被保人",example="新被保人")
private InsureUser replaceUser;
}
......@@ -22,7 +22,7 @@ import java.util.List;
public interface InsureUserMapper extends BaseMapper<InsureUser> {
List<PolicyDto> selectPolicyList(@Param("policyDto") PolicyDto policyDto );
Integer totalUser(@Param("policyDto") PolicyDto policyDto);
List<InsureUser> selectListByIds(@Param("array")String[] ids);
List<InsureUser> selectListByIds(@Param("array")String[] ids,@Param("policyId") Integer policyId,@Param("createTime")String createTime);
List<InsureUserDto> selectPlansListByIds(@Param("array")String[] ids);
List<InsureUserDto> selectPlansListById(@Param("policyId")String id);
int updateInsure(@Param("array")Integer[] ids);
......
......@@ -80,4 +80,6 @@ public class YgQueryDto extends Page {
@ApiModelProperty(value="证件号码 ",example="证件号码")
private String zjNum;
private Integer insureId;
}
......@@ -394,6 +394,13 @@
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
<if test="policyId!=null and policyId !=''">
and policy_id =#{policyId}
</if>
<if test="createTime!=null and createTime !=''">
and date_format(create_time,'%Y-%m') = #{createTime}
</if>
and status = 1 and insure_status = 1
</select>
<!--根据id数组查询员工-->
......
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