| Line 1015... |
Line 1015... |
| 1015 |
|
1015 |
|
| 1016 |
}
|
1016 |
}
|
| 1017 |
return responseSender.ok(tm);
|
1017 |
return responseSender.ok(tm);
|
| 1018 |
|
1018 |
|
| 1019 |
}
|
1019 |
}
|
| 1020 |
|
1020 |
//TODO:Amit
|
| 1021 |
@RequestMapping(value = "/target", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
|
1021 |
@RequestMapping(value = "/target", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
|
| 1022 |
@ApiImplicitParams({
|
1022 |
@ApiImplicitParams({
|
| 1023 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header")})
|
1023 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header")})
|
| 1024 |
public ResponseEntity<?> createPartnerTarget(HttpServletRequest request,
|
1024 |
public ResponseEntity<?> createPartnerTarget(HttpServletRequest request,
|
| 1025 |
@RequestBody PartnerTargetAchievementModel ptam) throws ProfitMandiBusinessException {
|
1025 |
@RequestBody PartnerTargetAchievementModel ptam) throws ProfitMandiBusinessException {
|
| Line 1304... |
Line 1304... |
| 1304 |
|
1304 |
|
| 1305 |
@RequestMapping(value = "/createPartnerColectionRemark", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
|
1305 |
@RequestMapping(value = "/createPartnerColectionRemark", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
|
| 1306 |
@ApiImplicitParams({
|
1306 |
@ApiImplicitParams({
|
| 1307 |
|
1307 |
|
| 1308 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header")})
|
1308 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header")})
|
| 1309 |
public ResponseEntity<?> createPartnerColectionRemark(HttpServletRequest request,
|
1309 |
public ResponseEntity<?> createPartnerCollectionRemark(HttpServletRequest request,
|
| 1310 |
@RequestBody PartnerCollectionRemarkModel partnerCollectionRemarkModel)
|
1310 |
@RequestBody PartnerCollectionRemarkModel partnerCollectionRemarkModel)
|
| 1311 |
throws ProfitMandiBusinessException {
|
1311 |
throws ProfitMandiBusinessException {
|
| 1312 |
AuthUser authUser = authRepository.selectByGmailId(partnerCollectionRemarkModel.getGmailId());
|
1312 |
AuthUser authUser = authRepository.selectByGmailId(partnerCollectionRemarkModel.getGmailId());
|
| 1313 |
|
1313 |
|
| 1314 |
PartnerCollectionRemark pcr = new PartnerCollectionRemark();
|
1314 |
PartnerCollectionRemark pcr = new PartnerCollectionRemark();
|