| | |
| | | import com.java110.intf.community.IRepairUserInnerServiceSMO; |
| | | import com.java110.intf.store.ISmallWeChatInnerServiceSMO; |
| | | import com.java110.intf.store.ISmallWechatAttrInnerServiceSMO; |
| | | import com.java110.intf.user.*; |
| | | import com.java110.intf.user.IOwnerAppUserInnerServiceSMO; |
| | | import com.java110.intf.user.IStaffAppAuthInnerServiceSMO; |
| | | import com.java110.intf.user.IUserInnerServiceSMO; |
| | | import com.java110.job.adapt.DatabusAdaptImpl; |
| | | import com.java110.utils.cache.MappingCache; |
| | | import com.java110.utils.util.StringUtil; |
| | |
| | | sendMsg(paramIn, communityDtos.get(0)); |
| | | //派单成功给业主推送信息 |
| | | publishMsg(paramIn, communityDtos.get(0)); |
| | | } else if (repairState.equals("1100") && repairWay.equals("100")) { |
| | | } else if (repairState.equals("1100") && (repairWay.equals("100") || repairWay.equals("300"))) { |
| | | String staffId = ""; |
| | | if (repairUserDtos.size() > 1) { |
| | | staffId = repairUserDtos.get(1).getStaffId(); |
| | |
| | | if (repairUserDtos.size() > 1) { |
| | | //给维修师傅推送信息 |
| | | sendMsg(paramIn, communityDtos.get(0)); |
| | | }else { |
| | | } else { |
| | | //抢单成功给维修师傅推送信息 |
| | | publishMessage(paramIn, communityDtos.get(0)); |
| | | } |
| | |
| | | * @param paramIn |
| | | * @param communityDto |
| | | */ |
| | | private void |
| | | publishMessage(JSONObject paramIn, CommunityDto communityDto) { |
| | | private void publishMessage(JSONObject paramIn, CommunityDto communityDto) { |
| | | //查询公众号配置 |
| | | SmallWeChatDto smallWeChatDto = new SmallWeChatDto(); |
| | | smallWeChatDto.setWeChatType("1100"); |