| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package xin.glue.ui.H.H05;
- 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;
-
- public class SendLockMillL2 extends PosActivity{
- public String runActivity(PosContext context)
- {
-
- String[] FROM_ADDR = (String[]) context.get("FROM_ADDR");
- String[] TO_ADDR = (String[]) context.get("TO_ADDR");
-
- String FromPos = FROM_ADDR[0].substring(0,2);
- String ToPos = TO_ADDR[0].substring(0,2);
-
- String TC_ID = null;
- if (FromPos != null && (FromPos.substring(0,1).equals("B") || FromPos.equals("C0")) )
- {
- TC_ID = "HML030";
- PosParameter param1 = new PosParameter();
- param1.setValueParamter(0,TC_ID);
- param1.setValueParamter(1,FROM_ADDR[0].substring(0,3));
-
- getDao("mesdao").insert("UIH050030_LOCK_SEND.insert", param1);
-
-
- } else if (ToPos != null && (ToPos.substring(0,1).equals("B") || ToPos.equals("C0")) ){
-
- TC_ID = "HML060";
- PosParameter param1 = new PosParameter();
- param1.setValueParamter(0,TC_ID);
- param1.setValueParamter(1,TO_ADDR[0].substring(0,3));
-
- getDao("mesdao").insert("UIH050030_LOCK_SEND.insert", param1);
-
- }
-
-
- return PosBizControlConstants.SUCCESS;
- }
- }
|