|
|
@@ -1412,33 +1412,6 @@ public class OrderChangeServiceImpl extends BaseMybatisDao<NewOrderChangeMapper>
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if (t.getAdditionalDeduction()==1){
|
|
|
- //加计扣除
|
|
|
- List<BusinessProjectBo> list = businessProjectMapper.selectByFirstBName("加计扣除", 1);
|
|
|
- for (BusinessProjectBo e : list) {
|
|
|
- t2.setCommodityId(e.getId());
|
|
|
- t2.setCommodityName(e.getBname());
|
|
|
- t2.setCommodityId(e.getId());
|
|
|
- t2.setCommodityName(e.getBname());
|
|
|
- t2.setMain(0);
|
|
|
- t2.setCommodityPrice(new BigDecimal(0));
|
|
|
- t2.setId(null);
|
|
|
- tChangeTaskMapper.insertSelective(t2);;
|
|
|
- }
|
|
|
- }
|
|
|
- if (t.getRdAwardsubsidy()==2){
|
|
|
- List<BusinessProjectBo> list = businessProjectMapper.selectByFirstBName("研发奖励", 1);
|
|
|
- for (BusinessProjectBo e : list) {
|
|
|
- t2.setCommodityId(e.getId());
|
|
|
- t2.setCommodityName(e.getBname());
|
|
|
- t2.setCommodityId(e.getId());
|
|
|
- t2.setCommodityName(e.getBname());
|
|
|
- t2.setMain(0);
|
|
|
- t2.setCommodityPrice(new BigDecimal(0));
|
|
|
- t2.setId(null);
|
|
|
- tChangeTaskMapper.insertSelective(t2);;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
if (bp.getProjectType().equals(NewProjectTypeEnum.SIMPLE.getCode())){
|
|
|
List<BusinessProjectBo> list = businessProjectMapper.selectByFirstBName("简单会员", 2);
|