| | |
| | | System.out.println("***************************DelegateExecution"); |
| | | IPropertyCapitalApplyService bean = SpringUtils.getBean(IPropertyCapitalApplyService.class); |
| | | PropertyCapitalApplyEntity applyEntity = bean.getOne(Wrappers.<PropertyCapitalApplyEntity>lambdaQuery().eq(PropertyCapitalApplyEntity::getProcessInstanceId, delegateExecution.getProcessInstanceId())); |
| | | if (applyEntity == null) { |
| | | return; |
| | | } |
| | | if (delegateExecution.getCurrentActivityId().equals("ownersCommittee1")) { |
| | | applyEntity.setApplyStatus(1); |
| | | } else if (delegateExecution.getCurrentActivityId().equals("ownersCommitteePass")) { |
| | |
| | | applyEntity.setApplyStatus(5); |
| | | } else if (delegateExecution.getCurrentActivityId().equals("applyNotPass")) { |
| | | applyEntity.setApplyStatus(6); |
| | | } else if (delegateExecution.getCurrentActivityId().equals("ownersCommitteeFlag0")) { |
| | | applyEntity.setApplyStatus(2); |
| | | } |
| | | bean.updateById(applyEntity); |
| | | } |
| | |
| | | jup.create_time, |
| | | jup.update_time, |
| | | jup.deleted_flag, |
| | | jup.signature_path, |
| | | bu.avatar, |
| | | bu.`name`, |
| | | bu.phone, |
| | |
| | | FROM |
| | | jczz_user_public_enroll jup |
| | | LEFT JOIN blade_user bu ON jup.user_id = bu.id |
| | | AND bu.is_deleted = 0 |
| | | LEFT JOIN jczz_household jh ON jh.associated_user_id = jup.user_id |
| | | AND jh.is_deleted = 0 |
| | | LEFT JOIN jczz_doorplate_address jda ON jda.address_code = jh.house_code |
| | | <where> |
| | | <if test="userPublicEnroll.id != null "> and jup.id = #{userPublicEnroll.id}</if> |
| | |
| | | <select id="selectUserTopicsPage" resultMap="userTopicsResultMap"> |
| | | SELECT |
| | | jut.article_id, |
| | | jut.signature_path, |
| | | bu.avatar, |
| | | bu.`name`, |
| | | bu.phone, |
| | |
| | | jda.aoi_name |
| | | FROM |
| | | jczz_user_topics as jut |
| | | LEFT JOIN blade_user bu ON jut.user_id = bu.id |
| | | LEFT JOIN jczz_household jh ON jh.associated_user_id = jut.user_id |
| | | LEFT JOIN blade_user bu ON jut.user_id = bu.id AND bu.is_deleted = 0 |
| | | LEFT JOIN jczz_household jh ON jh.associated_user_id = jut.user_id AND jh.is_deleted = 0 |
| | | LEFT JOIN jczz_doorplate_address jda ON jda.address_code = jh.house_code |
| | | <where> |
| | | <if test="userTopics.id != null ">and jut.id = #{userTopics.id}</if> |
| | |
| | | <if test="propertyCapitalApply.regionCode != null and propertyCapitalApply.regionCode !='' "> |
| | | and jd.community_code like concat('%',#{propertyCapitalApply.regionCode},'%') |
| | | </if> |
| | | order by jpca.create_time desc |
| | | </select> |
| | | |
| | | |