| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- package xin.glue.ui.H.H04;
- import xin.glue.ui.common.PosGridSave;
- //import xin.glue.ui.common.component.PosSiteConfig;
- import xin.glue.ui.common.component.PosSiteLog;
- import com.posdata.glue.biz.activity.PosActivity;
- import com.posdata.glue.biz.constants.PosBizControlConstants;
- import com.posdata.glue.context.PosContext;
- import com.posdata.glue.dao.vo.PosParameter;
- import com.posdata.glue.dao.vo.PosRowSet;
- /*
- * 磨削实绩的插入与保存
- * @author TangLiang 唐亮
- * @data 2008.10.09
- */
- public class PosSendRollShop extends PosActivity{
- public String runActivity(PosContext context)
- {
-
- String[] status = (String[]) context.get("rowStuts");
-
- //轧辊号
- String[] ROLL_NO = (String[])context.get("ROLL_NO");
- //轧辊类别
- String[] ROLL_TYPE = (String[])context.get("ROLL_TYPE");
- //机架号区分
- String[] SEND_CLF = (String[])context.get("SEND_CLF");
- //位置区分
- String[] POSITION_CLF = (String[])context.get("POSITION_CLF");
- //配对轧辊号
- String[] ASSEM_ROLL = (String[])context.get("ASSEM_ROLL_L1");
- //磨削后直径
- String[] ROLL_CUR_DIA = (String[])context.get("ROLL_CUR_DIA");
- //表面粗糙度
- String[] SURFACE_ROUGH = (String[])context.get("SURFACE_ROUGH");
- //辊型代码
- String[] ROLL_SHAPE_CD = (String[])context.get("ROLL_SHAPE_CD");
- //砂轮代码
- String[] DRESS_CODE = (String[])context.get("DRESS_CODE");
- //磨削代码
- String[] GPROG_CODE = (String[])context.get("GPROG_CODE");
- //轧辊代码
- String[] ROLL_CODE = (String[])context.get("ROLL_CODE");
- //磨床号
- String[] GRINDER_NO = (String[])context.get("GRINDER_NO");
- //磨床号
- String[] REG_ID = (String[])context.get("REG_ID");
- //材质代码
- String[] ROLL_MAT_QLTY = (String[])context.get("ROLL_MAT_QLTY");
-
- logger.logDebug("PosSendRollShop ROLL_NO:("+ROLL_NO[0]+")");
- logger.logDebug("PosSendRollShop ROLL_TYPE:("+ROLL_TYPE[0]+")");
-
- PosParameter param1 = new PosParameter();
- param1.setValueParamter(0, ROLL_NO[0]);
- param1.setValueParamter(1, ROLL_CUR_DIA[0]);
- param1.setValueParamter(2, ROLL_TYPE[0]);
- param1.setValueParamter(3, SEND_CLF[0]);
- param1.setValueParamter(4, POSITION_CLF[0]);
- param1.setValueParamter(5, ASSEM_ROLL[0]);
- param1.setValueParamter(6, SURFACE_ROUGH[0]);
- param1.setValueParamter(7, ROLL_SHAPE_CD[0]);
- param1.setValueParamter(8, DRESS_CODE[0]);
- param1.setValueParamter(9, GPROG_CODE[0]);
- param1.setValueParamter(10, ROLL_CODE[0]);
- param1.setValueParamter(11, GRINDER_NO[0]);
- param1.setValueParamter(12, ROLL_MAT_QLTY[0]);
-
-
- getDao("mesdao").insert("UIH040040_L1_SEND.insert", param1);
-
-
- PosParameter param2 = new PosParameter();
- param2.setValueParamter(0,"Y");
- param2.setValueParamter(1,SEND_CLF[0]);
- param2.setValueParamter(2,POSITION_CLF[0]);
- param2.setValueParamter(3,ASSEM_ROLL[0]);
- param2.setValueParamter(4,ROLL_CUR_DIA[0]);
- param2.setValueParamter(5,SURFACE_ROUGH[0]);
- param2.setValueParamter(6,ROLL_SHAPE_CD[0]);
- param2.setValueParamter(7,DRESS_CODE[0]);
- param2.setValueParamter(8,GPROG_CODE[0]);
- param2.setValueParamter(9,ROLL_CODE[0]);
- param2.setValueParamter(10,GRINDER_NO[0]);
- param2.setValueParamter(11,REG_ID[0]);
- param2.setValueParamter(12,ROLL_NO[0]);
-
-
- getDao("mesdao").insert("UIH040040_SCH_UPD.update", param2);
-
-
-
- return PosBizControlConstants.SUCCESS;
- }
- }
|