|
|
@@ -154,7 +154,9 @@ public class ImportFeeApi {
|
|
|
* @path /app/importFee/feeSharing
|
|
|
*/
|
|
|
@RequestMapping(value = "/feeSharing", method = RequestMethod.POST)
|
|
|
- public ResponseEntity<String> feeSharing(@RequestBody String reqJson) {
|
|
|
+ public ResponseEntity<String> feeSharing(@RequestBody String reqJson,
|
|
|
+ @RequestHeader(value = "store-id") String storeId,
|
|
|
+ @RequestHeader(value = "user-id") String userId) {
|
|
|
JSONObject reqObj = JSONObject.parseObject(reqJson);
|
|
|
Assert.hasKeyAndValue(reqObj, "communityId", "未包含小区ID");
|
|
|
Assert.hasKeyAndValue(reqObj, "totalDegrees", "未包含使用量");
|
|
|
@@ -165,6 +167,8 @@ public class ImportFeeApi {
|
|
|
Assert.hasKeyAndValue(reqObj, "endTime", "未包含结束时间");
|
|
|
Assert.hasKeyAndValue(reqObj, "objId", "未包含公摊对象");
|
|
|
Assert.hasKeyAndValue(reqObj, "feeTypeCd", "未包含费用类型");
|
|
|
+ reqObj.put("storeId",storeId);
|
|
|
+ reqObj.put("userId",userId);
|
|
|
|
|
|
return feeSharingBMOImpl.share(reqObj);
|
|
|
}
|