Browse Source

分配修改

anderx 4 years ago
parent
commit
562dfac7a4

+ 13 - 7
src/main/java/com/goafanti/common/dao/UserChannelMapper.java

@@ -12,44 +12,46 @@ import com.goafanti.user.bo.OutUserChannel;
 public interface UserChannelMapper {
     /**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	int deleteByPrimaryKey(Integer id);
 
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	int insert(UserChannel record);
 
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	int insertSelective(UserChannel record);
 
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	UserChannel selectByPrimaryKey(Integer id);
 
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	int updateByPrimaryKeySelective(UserChannel record);
 
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	int updateByPrimaryKey(UserChannel record);
+	
+	void updateByUid(UserChannel uc);
 
 
 	void insertBatch(List<InputUserChannel> list);
@@ -60,8 +62,9 @@ public interface UserChannelMapper {
 	 * @param list
 	 * @param type type==2 status=5 recovery=1,type !=2 status=1
 	 * @param date
+	 * @param maid 
 	 */
-	void updateByuids(@Param("list")List<String> list, @Param("type")Integer type, @Param("date")Date date);
+	void updateByuids(@Param("list")List<String> list, @Param("type")Integer type, @Param("date")Date date, @Param("maid")String maid);
 
 	int deleteByIds(List<String> list);
 
@@ -69,4 +72,7 @@ public interface UserChannelMapper {
 	List<String> checkRecovery(List<String> list);
 
 
+	
+
+
 }

+ 36 - 8
src/main/java/com/goafanti/common/mapper/UserChannelMapper.xml

@@ -5,7 +5,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     <id column="id" jdbcType="INTEGER" property="id" />
     <result column="uid" jdbcType="VARCHAR" property="uid" />
@@ -20,7 +20,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     id, `uid`, aid, `status`, distribution_time, create_time, remarks, `recovery`
   </sql>
@@ -28,7 +28,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -39,7 +39,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     delete from user_channel
     where id = #{id,jdbcType=INTEGER}
@@ -48,7 +48,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     insert into user_channel (id, `uid`, aid, 
       `status`, distribution_time, create_time, 
@@ -61,7 +61,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     insert into user_channel
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -121,7 +121,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     update user_channel
     <set>
@@ -149,11 +149,36 @@
     </set>
     where id = #{id,jdbcType=INTEGER}
   </update>
+   <update id="updateByUid" parameterType="com.goafanti.common.model.UserChannel">
+    
+    update user_channel
+    <set>
+      <if test="aid != null">
+        aid = #{aid,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        `status` = #{status,jdbcType=INTEGER},
+      </if>
+      <if test="distributionTime != null">
+        distribution_time = #{distributionTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="remarks != null">
+        remarks = #{remarks,jdbcType=VARCHAR},
+      </if>
+      <if test="recovery != null">
+        `recovery` = #{recovery,jdbcType=INTEGER},
+      </if>
+    </set>
+    where uid = #{uid,jdbcType=VARCHAR}
+  </update>
   <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.UserChannel">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Apr 26 08:48:10 CST 2021.
+      This element was generated on Wed Apr 28 13:55:31 CST 2021.
     -->
     update user_channel
     set `uid` = #{uid,jdbcType=VARCHAR},
@@ -218,6 +243,9 @@
      <if test="date !=null">
      ,distribution_time= #{date}
      </if>
+     <if test="maid !=null">
+     ,maid= #{maid}
+     </if>
 	where uid in( 
       <foreach collection="list" index="index" item="item" separator=",">
       #{item}

+ 8 - 2
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -2091,7 +2091,7 @@ inner join(
     left join district_glossory d2 on c.location_city =d2.id
     left join admin e on a.aid =e.id
     left join admin f on b.aid=f.id
-    where a.status in (0,1,5)
+    where a.status in (0,1,2,5)
     <if test="status !=null">
     and a.status = #{status}
     </if>
@@ -2101,6 +2101,9 @@ inner join(
     <if test="type==1 and aid!=null">
     and a.aid= #{aid}
     </if>
+    <if test="maid !=null">
+    and a.maid= #{maid}
+    </if>
     <if test="province !=null">
     and  c.location_province= #{province}
     </if>
@@ -2121,7 +2124,7 @@ inner join(
   <select id="selectChannelCustomerCount" resultType="java.lang.Integer">
    select count(*) from user_channel a
     left join user b on a.uid=b.id  left join organization_identity c on a.uid =c.uid 
-    where a.status in(0,1,5)
+    where a.status in(0,1,2,5)
     <if test="status !=null">
     and a.status = #{status}
     </if>
@@ -2131,6 +2134,9 @@ inner join(
     <if test="type==1 and aid!=null">
     and a.aid= #{aid}
     </if>
+    <if test="maid !=null">
+    and a.maid= #{maid}
+    </if>
     <if test="province !=null">
     and  c.location_province= #{province}
     </if>

+ 26 - 26
src/main/java/com/goafanti/common/model/UserChannel.java

@@ -7,54 +7,54 @@ public class UserChannel implements Serializable {
 
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.id
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private Integer id;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.uid
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private String uid;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.aid
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private String aid;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.status
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private Integer status;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.distribution_time
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private Date distributionTime;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.create_time
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private Date createTime;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.remarks
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private String remarks;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column user_channel.recovery
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private Integer recovery;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	private static final long serialVersionUID = 1L;
 
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.id
 	 * @return  the value of user_channel.id
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public Integer getId() {
 		return id;
@@ -63,7 +63,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.id
 	 * @param id  the value for user_channel.id
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setId(Integer id) {
 		this.id = id;
@@ -72,7 +72,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.uid
 	 * @return  the value of user_channel.uid
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public String getUid() {
 		return uid;
@@ -81,7 +81,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.uid
 	 * @param uid  the value for user_channel.uid
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setUid(String uid) {
 		this.uid = uid == null ? null : uid.trim();
@@ -90,7 +90,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.aid
 	 * @return  the value of user_channel.aid
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public String getAid() {
 		return aid;
@@ -99,7 +99,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.aid
 	 * @param aid  the value for user_channel.aid
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setAid(String aid) {
 		this.aid = aid == null ? null : aid.trim();
@@ -108,7 +108,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.status
 	 * @return  the value of user_channel.status
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public Integer getStatus() {
 		return status;
@@ -117,7 +117,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.status
 	 * @param status  the value for user_channel.status
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setStatus(Integer status) {
 		this.status = status;
@@ -126,7 +126,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.distribution_time
 	 * @return  the value of user_channel.distribution_time
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public Date getDistributionTime() {
 		return distributionTime;
@@ -135,7 +135,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.distribution_time
 	 * @param distributionTime  the value for user_channel.distribution_time
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setDistributionTime(Date distributionTime) {
 		this.distributionTime = distributionTime;
@@ -144,7 +144,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.create_time
 	 * @return  the value of user_channel.create_time
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public Date getCreateTime() {
 		return createTime;
@@ -153,7 +153,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.create_time
 	 * @param createTime  the value for user_channel.create_time
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setCreateTime(Date createTime) {
 		this.createTime = createTime;
@@ -162,7 +162,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.remarks
 	 * @return  the value of user_channel.remarks
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public String getRemarks() {
 		return remarks;
@@ -171,7 +171,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.remarks
 	 * @param remarks  the value for user_channel.remarks
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setRemarks(String remarks) {
 		this.remarks = remarks == null ? null : remarks.trim();
@@ -180,7 +180,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method returns the value of the database column user_channel.recovery
 	 * @return  the value of user_channel.recovery
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public Integer getRecovery() {
 		return recovery;
@@ -189,7 +189,7 @@ public class UserChannel implements Serializable {
 	/**
 	 * This method was generated by MyBatis Generator. This method sets the value of the database column user_channel.recovery
 	 * @param recovery  the value for user_channel.recovery
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	public void setRecovery(Integer recovery) {
 		this.recovery = recovery;
@@ -197,7 +197,7 @@ public class UserChannel implements Serializable {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_channel
-	 * @mbg.generated  Mon Apr 26 08:48:10 CST 2021
+	 * @mbg.generated  Wed Apr 28 13:55:31 CST 2021
 	 */
 	@Override
 	public String toString() {

+ 1 - 1
src/main/java/com/goafanti/customer/controller/AdminCustomerApiController.java

@@ -1296,7 +1296,7 @@ public class AdminCustomerApiController extends BaseApiController{
 		String [] str=userIds.split(",");
 		List<String> uids=Arrays.asList(str);
 		if (type==1&&customerService.checkChannel(uids)) {
-			res.getError().add(buildError("","已跟进,禁止转交!"));
+			res.getError().add(buildError("","已跟进,禁止分配!"));
 			return res;
 		}
 		if (type==2&&customerService.checkRecovery(uids)) {

+ 15 - 11
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -786,17 +786,14 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 	 * @param ub
 	 */
 	private void followProject(String uid, int x) {
-		Date date = new Date();
+		Date date = null;
+		if (x == 1)
+			date = new Date();
 		String aid = TokenManager.getAdminId();
-		if (x == 0) {
-			if (userLockReleaseMapper.updateUserMid(uid, aid, date, null) < 1) {
-				userLockReleaseMapper.insertUserMid(uid, aid, date, null);
-			}
-		} else {
-			if (userLockReleaseMapper.updateUserMid(uid, aid, date, date) < 1) {
-				userLockReleaseMapper.insertUserMid(uid, aid, date, date);
-			}
+		if (userLockReleaseMapper.updateUserMid(uid, aid, date, date) < 1) {
+			userLockReleaseMapper.insertUserMid(uid, aid, date, date);
 		}
+
 	}
 
 	@SuppressWarnings("unused")
@@ -2071,7 +2068,9 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 			params.put("startTime", in.getStartTime());
 		if (StringUtils.isNotBlank(in.getEndTime()))
 			params.put("endTime", in.getEndTime() + " 23:59:59");
-		if (!TokenManager.hasRole(AFTConstants.SALESMAN_DIRECTOR) && !TokenManager.hasRole(AFTConstants.SUPERADMIN)) {
+		if (TokenManager.hasRole(AFTConstants.SALESMAN_MANAGER)) {
+			params.put("maid", TokenManager.getAdminId());
+		}else if (!TokenManager.hasRole(AFTConstants.SALESMAN_DIRECTOR) && !TokenManager.hasRole(AFTConstants.SUPERADMIN)) {
 			params.put("aid", TokenManager.getAdminId());
 		}
 		return findPage("selectChannelCustomerList", "selectChannelCustomerCount", params, in.getPageNo(),
@@ -2109,7 +2108,12 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		}else {
 			userLockReleaseMapper.updateChannelList(uids,receiveId);
 		}
-		userChannelMapper.updateByuids(uids, type, date);
+		if(type==0) {
+			userChannelMapper.updateByuids(uids, type, date,receiveId);
+		}else {
+			userChannelMapper.updateByuids(uids, type, date,null);
+		}
+		
 		organizationContactBookMapper.updateByUids(uids, receiveId);
 		return 1;
 	}

+ 10 - 0
src/main/java/com/goafanti/order/service/impl/OrderProjectServiceImpl.java

@@ -47,6 +47,7 @@ import com.goafanti.common.dao.TaskLogMapper;
 import com.goafanti.common.dao.TaskProgressLogMapper;
 import com.goafanti.common.dao.TaskProgressMapper;
 import com.goafanti.common.dao.UserBusinessMapper;
+import com.goafanti.common.dao.UserChannelMapper;
 import com.goafanti.common.dao.UserLockReleaseMapper;
 import com.goafanti.common.dao.UserMapper;
 import com.goafanti.common.enums.NoticeStatus;
@@ -71,6 +72,7 @@ import com.goafanti.common.model.TaskLog;
 import com.goafanti.common.model.TaskProgress;
 import com.goafanti.common.model.TaskProgressLog;
 import com.goafanti.common.model.UserBusiness;
+import com.goafanti.common.model.UserChannel;
 import com.goafanti.common.model.UserLockRelease;
 import com.goafanti.common.utils.DateUtils;
 import com.goafanti.common.utils.LoggerUtils;
@@ -148,6 +150,8 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
 	private UserLockReleaseMapper	userLockReleaseMapper;
 	@Autowired
 	private UserBusinessMapper	userBusinessMapper;
+	@Autowired
+	private UserChannelMapper	userChannelMapper;
 	@Value(value = "${upload.path}")
 	private String 					uploadPath 			= null;
 	
@@ -203,6 +207,12 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
 				ub.setRemarks("派单自动锁定客户");
 				ub.setBusinessProjectId(t.getCommodityId());
 				userBusinessMapper.insertSelective(ub);
+				
+				//如果是渠道客户更新渠道表
+				UserChannel uc=new UserChannel();
+				uc.setUid(tn.getBuyerId());
+				uc.setStatus(7);
+				userChannelMapper.updateByUid(uc);
 		}else if (specially==0) {
 			addOrderLog(t.getOrderNo(), OrderLogProcess.XMPD.getCode(),remarks);
 			t.setConsultantId(taskReceiverId);