|
|
|
|
@ -88,12 +88,12 @@ public class BaseFpPlanqtyController extends BaseController
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
List<BaseFpPlanqty> list = baseFpPlanqtyService.selectBaseFpPlanqtyList(null);
|
|
|
|
|
Long id=1L;
|
|
|
|
|
int id=0;
|
|
|
|
|
System.out.println(list);
|
|
|
|
|
if (list!=null||!list.isEmpty()){
|
|
|
|
|
id=list.get(list.size()-1).getId()+1;
|
|
|
|
|
id= Math.toIntExact(list.get(list.size() - 1).getId()) + 1;
|
|
|
|
|
}
|
|
|
|
|
baseFpPlanqty.setId(id);
|
|
|
|
|
baseFpPlanqty.setId(Long.valueOf(id));
|
|
|
|
|
return toAjax(baseFpPlanqtyService.insertBaseFpPlanqty(baseFpPlanqty));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|