1.参数表：当前使用的极板->替换前的NC极板；
update yy_pl_parameters a set a.ncpplatecode = a.areplatecode;
update yy_pl_parameters a set a.ncnplatecode = a.negativeplatecode;

2.更新替换前的极板NC编码：
update yy_pl_parameters a set a.ncpplatecode=(select b.areplatecode from yy_pl_parameters b where b.pk_parameters=a.pk_parameters_old) where a.pk_parameters_old is not null;
update yy_pl_parameters a set a.ncnplatecode=(select b.negativeplatecode from yy_pl_parameters b where b.pk_parameters=a.pk_parameters_old) where a.pk_parameters_old is not null;

3.SKB->XKB 替换前的NC极板编码；
update yy_pl_parameters a set a.ncpplatecode ='8004K003' where a.areplatecode='8004K054';
update yy_pl_parameters a set a.ncnplatecode ='8004K004' where a.negativeplatecode='8004K055';
update yy_pl_parameters a set a.ncpplatecode ='8004K015' where a.areplatecode='8004K056';
update yy_pl_parameters a set a.ncnplatecode ='8004K016' where a.negativeplatecode='8004K057';
update yy_pl_parameters a set a.ncpplatecode ='8004K023' where a.areplatecode='8004K058';
update yy_pl_parameters a set a.ncnplatecode ='8004K024' where a.negativeplatecode='8004K059';
update yy_pl_parameters a set a.ncpplatecode ='8004K013' where a.areplatecode='8004K060';
update yy_pl_parameters a set a.ncnplatecode ='8004K014' where a.negativeplatecode='8004K061';

4.参数NC极板字段；
/****************************
update yy_sys_datapermission t set t.columnnames=t.columnnames||',NC正极板编码,NC负极板编码' where t.pk_datapermission='402880f8337d0ae801337d2110061002';
update yy_sys_datapermission t set t.fieldnames=t.fieldnames||',ncpplatecode,ncnplatecode' where t.pk_datapermission='402880f8337d0ae801337d2110061002';
update yy_sys_datapermission t set t.editefieldindexs=t.editefieldindexs||',144,145' where t.pk_datapermission='402880f8337d0ae801337d2110061002';
update yy_sys_datapermission t set t.widths=t.widths||',100,100' where t.pk_datapermission='402880f8337d0ae801337d2110061002';
*****************************/

5.yy_pl_platereplace表加数据（SKB的极板）；


6.
7.
8.
9.
10.







