更新意向申请表中信息
This commit is contained in:
@@ -287,6 +287,7 @@
|
||||
and interview_date = #{currentDay}
|
||||
</if>
|
||||
and (start_time>now() or (start_time<![CDATA[<]]>now() and room_status!=2))
|
||||
and deleted = 0
|
||||
and application_approved = 1
|
||||
order by start_time
|
||||
</where>
|
||||
|
||||
@@ -112,6 +112,16 @@ public class HyPartnerIntentInfoServiceImpl implements HyPartnerIntentInfoServic
|
||||
// 更新线索状态
|
||||
HyPartnerLineInfoDO hyPartnerLineInfoDO = hyPartnerLineInfoService.generateDefaultLineInfo(hyPartnerUserInfoDO.getPartnerId(), baseUserInfoRequest.getWantShopArea(), baseUserInfoRequest.getAcceptAdjustType());
|
||||
|
||||
//更新意向申请表中信息
|
||||
HyPartnerIntentInfoDO hyPartnerIntentInfoDO = hyPartnerIntentInfoDAO.selectByLineId(hyPartnerLineInfoDO.getId());
|
||||
if (hyPartnerIntentInfoDO!=null){
|
||||
hyPartnerIntentInfoDO.setLiveArea(baseUserInfoRequest.getLiveArea());
|
||||
hyPartnerIntentInfoDO.setWantShopArea(baseUserInfoRequest.getWantShopArea());
|
||||
hyPartnerIntentInfoDO.setAcceptAdjustType(baseUserInfoRequest.getAcceptAdjustType());
|
||||
hyPartnerIntentInfoDAO.updateByPrimaryKeySelective(hyPartnerIntentInfoDO);
|
||||
}
|
||||
|
||||
|
||||
String cacheKey = MessageFormat.format(RedisConstant.PARTNER_INTENTINFO_CACHE_KEY, baseUserInfoRequest.getPartnerId(), hyPartnerLineInfoDO.getId());
|
||||
if (StringUtils.isNotBlank(redisUtilPool.getString(cacheKey))) {
|
||||
PartnerIntentInfoRequest request = JSONObject.parseObject(redisUtilPool.getString(cacheKey), PartnerIntentInfoRequest.class);
|
||||
|
||||
Reference in New Issue
Block a user