Commit 387cb5ee authored by fangxinjiang's avatar fangxinjiang

见费出单逻辑-fxj

parent 1bea55db
......@@ -141,12 +141,12 @@ public class SocialDaprUtils {
}
/**
* @Author huyc
* @Author fxj
* @Description 通过收入id收入数据
* @Date 2022/9/2
* @Date 16:56 2026/1/27
* @Param
* @return
**/
**/
public void deleteIncomeById(TIncomeDetail infoVo) {
HttpDaprUtil.invokeMethodPost(daprProperties.getAppUrl(),daprProperties.getAppId(),"/tincome/inner/deleteById", JSON.toJSONString(infoVo), Object.class, SecurityConstants.FROM_IN);
}
......
......@@ -9719,7 +9719,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
if(Common.isNotNull(detailList) && detailList.getCode() == CommonConstants.SUCCESS
&& !detailList.getData().getDetailList().isEmpty()){
List<TIncomeDetail> incomeDetailList = detailList.getData().getDetailList();
BigDecimal sumMoney = BigDecimal.ZERO;
for (TIncomeDetail income : incomeDetailList) {
socialDaprUtils.deleteById(income);
socialDaprUtils.deleteIncomeById(income);
......
......@@ -250,7 +250,7 @@ public class TIncomeController {
* @return R
*/
@Inner
@PostMapping("/deleteById")
@PostMapping("/inner/deleteById")
public void deleteMainById(@RequestBody TIncomeDetail tIncomeDetail) {
tIncomeService.removeById(tIncomeDetail.getId());
}
......
......@@ -74,7 +74,7 @@ public class TIncomeDetailController {
* @return R
*/
@Inner
@PostMapping("/deleteById")
@PostMapping("/inner/deleteById")
public void deleteById(@RequestBody TIncomeDetail tIncomeDetail) {
tIncomeDetailService.removeById(tIncomeDetail.getId());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment