| | |
| | | log.error("花城洗车银联退款数据 :" + r); |
| | | if(r.getCode()==200) |
| | | { |
| | | UnionpayCarWash wash= JSONObject.parseObject(r.getData().toString(),UnionpayCarWash.class); |
| | | UnionpayCarWash wash=(UnionpayCarWash) r.getData(); |
| | | if(wash!=null) |
| | | { |
| | | String re=Refund.sendOrder(wash.getMoney(),wash.getUnionpayOrderId()); |
| | |
| | | R r=communityService.carWashById(merOrderId); |
| | | if(r.getCode()==200) |
| | | { |
| | | UnionpayCarWash unionpayCarWash= (UnionpayCarWash) r.getData(); |
| | | |
| | | HashMap unionpayCarWash= (HashMap) r.getData(); |
| | | //调用uu洗车支付成功回调 |
| | | Map map=new HashMap(); |
| | | map.put("orderId",unionpayCarWash.getCarWashId()); |
| | | map.put("orderId",unionpayCarWash.get("carWashId")); |
| | | HttpClientUtil.sendPostByJson("https://uu-api.imashuo.com/notify/wx/pzh-pay",JSONObject.toJSONString(map), |
| | | 1,"appid","10000"); |
| | | log.error("花城洗车回调成功 :" + queryEntiy.getMerOrderId()+" : 洗车号" |
| | | +unionpayCarWash.getUnionpayOrderId()+" : 银联号"+unionpayCarWash.getUnionpayOrderId()); |
| | | +unionpayCarWash.get("carWashId")+" : 银联号"+unionpayCarWash.get("unionpayOrderId")); |
| | | } |
| | | |
| | | } |
| | |
| | | R r=communityService.queryById(desMap.get("orderId")); |
| | | if(r.getCode()==200) |
| | | { |
| | | UnionpayCarWash wash= (UnionpayCarWash) r.getData(); |
| | | HashMap wash= (HashMap) r.getData(); |
| | | if(wash!=null) |
| | | { |
| | | String re=Refund.sendOrder(wash.getMoney(),wash.getUnionpayOrderId()); |
| | | String re=Refund.sendOrder(wash.get("money").toString(), |
| | | wash.get("unionpayOrderId").toString()); |
| | | map.put("unionpay","退款成功"); |
| | | log.error("花城洗车银联退款成功 :" + re); |
| | | } |
| | |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty("1 随手拍 2网格治理") |
| | | private String addType; |
| | | |
| | | @ApiModelProperty(value = "分页每页数量", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | |
| | | @ApiModelProperty(value = "随手拍分类名称") |
| | | private String classifyName; |
| | | |
| | | @ApiModelProperty(value = "1 随手拍 2网格治理") |
| | | private String addType; |
| | | |
| | | /** |
| | | * 是否上报城管 0未上报 1已上报 2已退回 |
| | | */ |
| | |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty("1 随手拍 2网格治理") |
| | | private String addType; |
| | | |
| | | } |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.common.model.dtos.wx.UnionpayCarWash; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO; |
| | |
| | | @Resource |
| | | private ComOpsAdvService comOpsAdvService; |
| | | |
| | | @Resource |
| | | private CommunityService communityService; |
| | | |
| | | /** |
| | | * 获取广告跳转内容配置 |
| | | * |
| | |
| | | @TableField(value = "remark", updateStrategy = FieldStrategy.IGNORED) |
| | | private String remark; |
| | | |
| | | |
| | | /** |
| | | * 1 随手拍 2网格治理 |
| | | */ |
| | | private String addType; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | |
| | | private Long sponsorId; |
| | | |
| | | /** |
| | | * 1 随手拍 2网格治理 |
| | | */ |
| | | private String addType; |
| | | |
| | | /** |
| | | * 发生地址 |
| | | */ |
| | | private String happenAddr; |
| | |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="add_type" property="addType" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, name, status, weight, remark, create_at, update_at |
| | | id, name, status, weight, remark, create_at, update_at,add_type |
| | | </sql> |
| | | |
| | | <select id="getPhotoClassifyPage" resultType="com.panzhihua.common.model.vos.community.easyPhoto.ComActEasyPhotoClassifyVO"> |
| | | select id,`name`,`status`,weight,remark,create_at,update_at from com_act_easy_photo_classify |
| | | select id,`name`,`status`,weight,remark,create_at,update_at,add_type |
| | | from com_act_easy_photo_classify |
| | | <where> |
| | | <if test="photoClassifyDTO.name != null and photoClassifyDTO.name != """> |
| | | and `name` like concat (#{photoClassifyDTO.name},'%') |
| | |
| | | <if test="photoClassifyDTO.areaCode != null and photoClassifyDTO.areaCode != """> |
| | | and area_code = #{photoClassifyDTO.areaCode} |
| | | </if> |
| | | <if test="photoClassifyDTO.addType != null and photoClassifyDTO.addType != """> |
| | | and `add_type` = #{photoClassifyDTO.addType} |
| | | </if> |
| | | </where> |
| | | order by create_at desc |
| | | </select> |
| | | |
| | | <select id="getPhotoClassifyList" resultType="com.panzhihua.common.model.vos.community.easyPhoto.ComActEasyPhotoClassifyVO"> |
| | | select id,`name`,`status`,weight,remark,create_at,update_at from com_act_easy_photo_classify where area_code = #{areaCode} |
| | | select id,`name`,`status`,weight,remark,create_at,update_at,add_type |
| | | from com_act_easy_photo_classify |
| | | where area_code = #{areaCode} |
| | | order by create_at desc |
| | | </select> |
| | | |
| | |
| | | <result column="activity_id" property="activityId" /> |
| | | <result column="img_width" property="imgWidth" /> |
| | | <result column="img_height" property="imgHeight" /> |
| | | <result column="add_type" property="addType" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | |
| | | id, sponsor_id, happen_addr, addr_remark, status, handler_id, create_at, examine_at, detail, photo_path_list |
| | | , handle_result, handle_photo_list, community_id, is_hide, is_need_feed_back, feedback_at, reject_reason |
| | | , del_tag, is_report, is_publicity, handle_status, lng_lat, activity_type, activity_amount, activity_id |
| | | , img_width, img_height |
| | | , img_width, img_height,add_type |
| | | </sql> |
| | | |
| | | <select id="pageEasyPhotoAdmin" parameterType="com.panzhihua.common.model.vos.community.ComActEasyPhotoVO" |
| | |
| | | c.name communityName, |
| | | p.urban_status, |
| | | p.transfer_reason, |
| | | p.add_type, |
| | | p.handle_status |
| | | FROM |
| | | com_act_easy_photo p |
| | |
| | | c.name communityName, |
| | | p.is_report_urban, |
| | | p.urban_status, |
| | | p.add_type, |
| | | ca.`name` as photoType |
| | | FROM |
| | | com_act_easy_photo p |
| | |
| | | p.is_report_urban, |
| | | p.is_report_dpc, |
| | | p.urban_status, |
| | | p.add_type, |
| | | ca.`name` as photoType |
| | | FROM |
| | | com_act_easy_photo p |
| | |
| | | p.img_width, |
| | | p.img_height, |
| | | p.examine_at, |
| | | p.add_type, |
| | | f.id AS fid, |
| | | p.handle_status |
| | | FROM |
| | |
| | | <if test = 'comActEasyPhotoVO.communityId != null and comActEasyPhotoVO.communityId != 0' > |
| | | AND p.community_id = ${comActEasyPhotoVO.communityId} |
| | | </if> |
| | | <if test="comActEasyPhotoVO.addType != null and comActEasyPhotoVO.addType != ''"> |
| | | AND p.add_type=${comActEasyPhotoVO.addType} |
| | | </if> |
| | | <if test = 'comActEasyPhotoVO.status != null and comActEasyPhotoVO.status!=0' > |
| | | AND p.`status` = #{comActEasyPhotoVO.status} |
| | | </if> |