andrew 4 år sedan
förälder
incheckning
383ea0eec5

+ 1
- 1
src/main/java/com/huiju/estateagents/property/common/sign/DaSuSign.java Visa fil

@@ -42,7 +42,7 @@ public class DaSuSign {
42 42
         treeMap.put("appid", appid);
43 43
         treeMap.put("datetime", datetime);
44 44
         treeMap.put("encrypt", encrypt);
45
-        treeMap.put("communityid", orgId);
45
+        treeMap.put("orgId", orgId);
46 46
 
47 47
         String sign = "";
48 48
 

+ 1
- 1
src/main/java/com/huiju/estateagents/property/controller/BillController.java Visa fil

@@ -182,7 +182,7 @@ public class BillController extends BaseController {
182 182
     }
183 183
 
184 184
     @ApiOperation(value = "获取账单的详细信息", notes = "获取账单的详细信息")
185
-    @ApiImplicitParams({@ApiImplicitParam(paramType = "path", dataType = "String", name = "communityId", value = "小区Id"),
185
+    @ApiImplicitParams({@ApiImplicitParam(paramType = "path", dataType = "String", name = "orgId", value = "小区Id"),
186 186
             @ApiImplicitParam(paramType = "path", dataType = "Integer", name = "billInvoiceId", value = "账单id")})
187 187
     @RequestMapping(value = "/wx/bill/{orgId}/{billInvoiceId}",method = RequestMethod.GET)
188 188
     public ResponseBean getBillInvoiceDetail(@PathVariable Integer orgId,@PathVariable Integer billInvoiceId){

+ 3
- 3
src/main/java/com/huiju/estateagents/property/controller/MessageController.java Visa fil

@@ -82,7 +82,7 @@ public class MessageController extends BaseController {
82 82
     }
83 83
 
84 84
     @ApiOperation(value = "按小区获取分页消息", notes = "按小区获取分页消息")
85
-    @ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "String", name = "communityId", value = "小区Id"),
85
+    @ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "String", name = "orgId", value = "小区Id"),
86 86
             @ApiImplicitParam(paramType = "query", dataType = "integer", name = "pageNum", value = "分页第几页"),
87 87
             @ApiImplicitParam(paramType = "query", dataType = "integer", name = "pageSize", value = "分页每页长度")})
88 88
     @RequestMapping(value = "/wx/message/{orgId}/news",method = RequestMethod.GET)
@@ -98,7 +98,7 @@ public class MessageController extends BaseController {
98 98
     }
99 99
 
100 100
     @ApiOperation(value = "按小区获取分页待办", notes = "按小区获取分页待办")
101
-    @ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "String", name = "communityId", value = "小区Id"),
101
+    @ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "String", name = "orgId", value = "小区Id"),
102 102
             @ApiImplicitParam(paramType = "query", dataType = "integer", name = "pageNum", value = "分页第几页"),
103 103
             @ApiImplicitParam(paramType = "query", dataType = "integer", name = "pageSize", value = "分页每页长度")})
104 104
     @RequestMapping(value = "/wx/message/{orgId}/upcoming",method = RequestMethod.GET)
@@ -115,7 +115,7 @@ public class MessageController extends BaseController {
115 115
     }
116 116
 
117 117
     @ApiOperation(value = "消息已读接口", notes = "消息已读接口")
118
-    @ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "String", name = "communityId", value = "小区Id"),
118
+    @ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "String", name = "orgId", value = "小区Id"),
119 119
             })
120 120
     @RequestMapping(value = "/wx/readStatus/{orgId}",method = RequestMethod.POST)
121 121
     public ResponseBean allMessageRead(@PathVariable("orgId") Integer orgId, HttpServletRequest request){

+ 1
- 1
src/main/java/com/huiju/estateagents/property/controller/UserVerifyController.java Visa fil

@@ -182,7 +182,7 @@ public class UserVerifyController extends BaseController {
182 182
     @ApiOperation(value = "添加一个审核的房产", notes = "添加一个审核的房产")
183 183
     @ApiImplicitParams({
184 184
             @ApiImplicitParam(paramType = "header", dataTypeClass = String.class, name = "X-Auth-Token", value = "Token"),
185
-            @ApiImplicitParam(paramType = "body", dataTypeClass = String.class, name = "parameter", value = "communityId小区编号;roleName角色名称;phaseId期;buildingId楼栋;unitId单元;levelId楼层;roomNoId户号")
185
+            @ApiImplicitParam(paramType = "body", dataTypeClass = String.class, name = "parameter", value = "phaseId期;buildingId楼栋;unitId单元;levelId楼层;roomNoId户号")
186 186
     })
187 187
     public ResponseBean addUserVerify(@RequestBody String parameter, HttpServletRequest request) {
188 188
         ResponseBean responseBean = new ResponseBean();

+ 1
- 1
src/main/java/com/huiju/estateagents/property/dao/BillInvoiceMapper.java Visa fil

@@ -71,7 +71,7 @@ public interface BillInvoiceMapper extends BaseMapper<BillInvoice> {
71 71
      * @param communityId
72 72
      * @return
73 73
      */
74
-    BillInvoice selectByIdAndroomNoId(@Param("id") Integer billInvoiceId,@Param("roomNoId") Integer buildingOwnerInfoId,@Param("communityId") Integer communityId);
74
+    BillInvoice selectByIdAndroomNoId(@Param("id") Integer billInvoiceId,@Param("roomNoId") Integer buildingOwnerInfoId,@Param("orgId") Integer orgId);
75 75
 
76 76
     BillInvoice selectByOutTradeNo(@Param("outTradeNo") String outTradeNo);
77 77
 

+ 1
- 1
src/main/java/com/huiju/estateagents/property/service/IBuildingOwnerInfoService.java Visa fil

@@ -23,7 +23,7 @@ public interface IBuildingOwnerInfoService extends IService<TpBuildingOwnerInfo>
23 23
      * @param paramets
24 24
      * @return
25 25
      */
26
-    ResponseBean selectUserApprove(String paramets, Integer CommunityId);
26
+    ResponseBean selectUserApprove(String paramets, Integer orgId);
27 27
     /**
28 28
      * 根据条件查询
29 29
      * @param parameter

+ 1
- 1
src/main/java/com/huiju/estateagents/property/service/TpAnnouncementService.java Visa fil

@@ -16,7 +16,7 @@ public interface TpAnnouncementService extends IService<TpAnnouncement> {
16 16
     /**
17 17
      * 获取公告列表
18 18
      */
19
-    ResponseBean tpAnnouncemenList(String paramets, Integer CommunityId);
19
+    ResponseBean tpAnnouncemenList(String paramets, Integer orgId);
20 20
 
21 21
     /**
22 22
      * 添加公告

+ 2
- 2
src/main/java/com/huiju/estateagents/property/service/impl/TpAnnouncementServiceImpl.java Visa fil

@@ -54,11 +54,11 @@ private  TpAnnouncementMapper tpAnnouncementMapper;
54 54
 //    @Autowired
55 55
 //    private TaUserMapper taUserMapper;
56 56
     @Override
57
-    public ResponseBean tpAnnouncemenList(String paramets, Integer CommunityId) {
57
+    public ResponseBean tpAnnouncemenList(String paramets, Integer orgId) {
58 58
         ResponseBean responseBean = new ResponseBean();
59 59
 
60 60
         TpAnnouncement   tpAnnouncement= JSONObject.parseObject(paramets, TpAnnouncement.class);
61
-        tpAnnouncement.setOrgId(CommunityId);
61
+        tpAnnouncement.setOrgId(orgId);
62 62
         JSONObject jsonobject = JSONObject.parseObject(paramets);
63 63
         Integer pageNum = jsonobject.getInteger("pageNum");
64 64
         Integer announcementNumber = jsonobject.getInteger("announcementNumber");

+ 3
- 3
src/main/java/com/huiju/estateagents/property/service/impl/TpTicketServiceImpl.java Visa fil

@@ -896,7 +896,7 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
896 896
 
897 897
     }
898 898
     @Override
899
-    public ResponseBean addWxRecordComment(String parameter, Integer verifyId,Integer communityId,String userName) {
899
+    public ResponseBean addWxRecordComment(String parameter, Integer verifyId,Integer orgId,String userName) {
900 900
         ResponseBean response=new ResponseBean();
901 901
         JSONObject object= JSONObject.parseObject(parameter);
902 902
 
@@ -907,7 +907,7 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
907 907
         TpTicket  tpTicket= tpTicketMapper.selectById(ticketId);
908 908
         TpTicketRecord ticketRecord= tpTicketRecordMapper.selectTpTicketRecord(ticketId, Integer.valueOf(tpTicket.getStatus()));
909 909
         TpTicketRecordComment tpTicketRecordComment= new TpTicketRecordComment();
910
-        tpTicketRecordComment.setOrgId(communityId);
910
+        tpTicketRecordComment.setOrgId(orgId);
911 911
         tpTicketRecordComment.setContent(content);
912 912
         tpTicketRecordComment.setTicketId(ticketId);
913 913
         tpTicketRecordComment.setTicketRecordId(ticketRecord.getId());
@@ -935,7 +935,7 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
935 935
         //工单消息回复最最后一个物业人员
936 936
 
937 937
         Message message = new Message();
938
-        message.setOrgId(communityId);
938
+        message.setOrgId(orgId);
939 939
         message.setModelType("1");
940 940
         message.setMessageType(tpTicket.getType());
941 941
         message.setAdviceType("4");

+ 1
- 1
src/main/resources/mapper/property/BillInvoiceMapper.xml Visa fil

@@ -211,7 +211,7 @@
211 211
     <select id="selectByOutTradeNo" resultType="com.huiju.estateagents.property.model.BillInvoice" >
212 212
   SELECT
213 213
         t.id,
214
-        t.org_id AS communityId,
214
+        t.org_id AS orgId,
215 215
         t.bill_id AS billId,
216 216
         t.building_owner_info_id AS buildingOwnerInfoId,
217 217
         t.ta_user_id AS taUserId,

+ 2
- 2
src/main/resources/mapper/property/MessageMapper.xml Visa fil

@@ -167,7 +167,7 @@
167 167
     <select id="getMessages" resultType="com.huiju.estateagents.property.model.Message">
168 168
     SELECT
169 169
         t.id,
170
-        t.community_id,
170
+        t.org_id,
171 171
         t.message_type AS new_message_type,
172 172
         CASE
173 173
           WHEN t.message_type = 9 THEN
@@ -199,7 +199,7 @@
199 199
         LEFT JOIN tp_message_icon i ON t.message_type = i.message_type
200 200
     WHERE
201 201
         t.uuid_type = "app"
202
-        AND t.community_id = #{communityId,jdbcType=INTEGER}
202
+        AND t.org_id = #{orgId,jdbcType=INTEGER}
203 203
         AND t.uuid = #{userId,jdbcType=INTEGER}
204 204
         AND t.STATUS = 1
205 205
         AND t.advice_type != 1

+ 2
- 2
src/main/resources/mapper/property/TaUserVerifyMapper.xml Visa fil

@@ -3,7 +3,7 @@
3 3
 <mapper namespace="com.huiju.estateagents.property.dao.TaUserVerifyMapper">
4 4
 
5 5
     <sql id="Base_Column_List" >
6
-    id, user_id, community_id, role_id, phase_id, phase_name, building_id, building_name,
6
+    id, user_id, org_id, role_id, phase_id, phase_name, building_id, building_name,
7 7
     unit_id, unit_name, level_id, level_name, room_no_id, room_no_name, verify_status,
8 8
     create_date, verify_name, remark
9 9
   </sql>
@@ -86,7 +86,7 @@
86 86
         select
87 87
         <include refid="Base_Column_List"/>
88 88
         from ta_user_verify
89
-        where community_id = #{communityId,jdbcType=INTEGER}
89
+        where org_id = #{orgId,jdbcType=INTEGER}
90 90
         and user_id = #{userId,jdbcType=INTEGER}
91 91
         and phase_id = #{phaseId,jdbcType=INTEGER}
92 92
         and building_id = #{buildingId,jdbcType=INTEGER}

+ 5
- 5
src/main/resources/mapper/property/TpSocialViewMapper.xml Visa fil

@@ -24,10 +24,10 @@
24 24
     where id = #{id,jdbcType=INTEGER}
25 25
   </delete>
26 26
   <insert id="insert" parameterType="com.huiju.estateagents.property.model.TpSocialView" >
27
-    insert into tp_social_view (id, community_id, uuid, 
27
+    insert into tp_social_view (id, org_id, uuid,
28 28
       social_type, ta_user_id, remark, 
29 29
       create_date)
30
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{uuid,jdbcType=INTEGER}, 
30
+    values (#{id,jdbcType=INTEGER}, #{orgId,jdbcType=INTEGER}, #{uuid,jdbcType=INTEGER},
31 31
       #{socialType,jdbcType=VARCHAR}, #{taUserId,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, 
32 32
       #{createDate,jdbcType=TIMESTAMP})
33 33
   </insert>
@@ -83,8 +83,8 @@
83 83
   <update id="updateByPrimaryKeySelective" parameterType="com.huiju.estateagents.property.model.TpSocialView" >
84 84
     update tp_social_view
85 85
     <set >
86
-      <if test="communityId != null" >
87
-        community_id = #{communityId,jdbcType=INTEGER},
86
+      <if test="orgId != null" >
87
+        org_id = #{orgId,jdbcType=INTEGER},
88 88
       </if>
89 89
       <if test="uuid != null" >
90 90
         uuid = #{uuid,jdbcType=INTEGER},
@@ -106,7 +106,7 @@
106 106
   </update>
107 107
   <update id="updateByPrimaryKey" parameterType="com.huiju.estateagents.property.model.TpSocialView" >
108 108
     update tp_social_view
109
-    set community_id = #{communityId,jdbcType=INTEGER},
109
+    set org_id = #{orgId,jdbcType=INTEGER},
110 110
       uuid = #{uuid,jdbcType=INTEGER},
111 111
       social_type = #{socialType,jdbcType=VARCHAR},
112 112
       ta_user_id = #{taUserId,jdbcType=INTEGER},

+ 1
- 1
src/main/resources/mapper/property/TpTicketRecordCommentMapper.xml Visa fil

@@ -15,7 +15,7 @@
15 15
         FROM
16 16
         tp_ticket_record_comment
17 17
         WHERE
18
-        community_id = #{communityId,jdbcType=INTEGER}
18
+        org_id = #{orgId,jdbcType=INTEGER}
19 19
         AND ticket_id = #{ticketId,jdbcType=INTEGER}
20 20
         AND ticket_record_id = #{id,jdbcType=INTEGER}
21 21
     </select>

+ 1
- 1
src/main/resources/mapper/property/TpTransactionMapper.xml Visa fil

@@ -43,6 +43,6 @@
43 43
         select
44 44
          *
45 45
         from tp_transaction ttr
46
-        where ttr.id = #{id,jdbcType=INTEGER} and ttr.community_id=#{communityId,jdbcType=INTEGER}
46
+        where ttr.id = #{id,jdbcType=INTEGER} and ttr.org_id=#{orgId,jdbcType=INTEGER}
47 47
     </select>
48 48
 </mapper>