open MMT.distributions = null on transaction type:  WIP Lot Split

 

 

 

打开物料事务处理界面,发现事务处理类型为:WIP Lot Split点击其 distributions 按键, 没有任何科目ACCOUNT信息。

old fixed SQL:
update mtl_material_transactions
set costed_flag = 'N'
where transaction_id = &wls_transaction_id;
应用以上修正SQL,之后重启 Cost Manager,还是没有生成 account 科目资料,但 distributions 按钮由灰变亮了,可以点击了。

 

针对此问题进行实验,得到以下表结构的数据变化:

实验步骤:

1.       MMT.distributions里的科目分录数据是由于成本管理器处理而生成,故而执行实验前先关闭Cost Manager,目的在于观察Cost Manager启用后,对表结构变化的影响

2.       执行 WIP Lot Split之前,先计算 ORACLE EBS DB 后台所有表的总记录数与最新更新日期

3.       进入ORACLE EBS APPS应用界面操作WIP Lot Split

4.       再次计算ORACLE EBS DB后台所有表的总记录数与最新更新日期

5.       找出总记录数或最新更新日期有差异的表

6.       启动成本管理器Cost Manager,再次计算 ORACLE EBS DB 后台所有表的总记录数与最新更新日期,以得知成本管理在此时对后台表做了哪些处理

SQL Script:

 

--create table

create table cux_dev_analysis_tables

(

owner    varchar2(20),

table_name varchar2(100),

sql_count varchar2(3000),

sql_last_update_date varchar2(3000),

count1  number,

count2  number,

count3  number,

count4  number,

count5  number,

count6  number,

count7  number,

count8  number,

count9  number,

count10  number,

last_update_date1 varchar2(30),

last_update_date2 varchar2(30),

last_update_date3 varchar2(30),

last_update_date4 varchar2(30),

last_update_date5 varchar2(30),

last_update_date6 varchar2(30),

last_update_date7 varchar2(30),

last_update_date8 varchar2(30),

last_update_date9 varchar2(30),

last_update_date10 varchar2(30),

remark   varchar2(3000),

process_flag   varchar2(5)

);

 

drop table cux_dev_analysis_tables;

 

delete from cux_dev_analysis_tables;

 

==========================================================================

 

insert  into cux_dev_analysis_tables(owner, table_name, sql_count, process_flag)

select

owner,

object_name,

'select count(*) from '|| object_name  sql_analysis

, 'C1'

from dba_objects obj

where 1=1

and owner  in(

'AP',

'APPLSYS',

'APPS',

'AR',

'BOM',

'CE',

'CLN',

'CN',

'CS',

--'CSC',

--'CSD',

'ENG',

'FA',

'GL',

--'HR',

'INV',

--'JTF',

--'JTM',

--'JTS',

'OE',

'ONT',

'PO',

'QA',

'QP',

'WIP',

'WMS',

'WPS',

'WSH',

'WSM',

'XDO',

'XLA'

)

and  object_name not like 'CUX%'

and  object_name not like '%$%'

and  object_name not like '%#%'

and object_type = 'TABLE'

order by owner asc, object_name asc

;

 

==========================================================================

 

 

delete

from cux_dev_analysis_tables

where 1=1

and (table_name like '%BAK%'

    OR table_name like '%BK%'

    OR table_name like 'CUX%'

    OR table_name like '%BACKUP%')

;

 

delete

from cux_dev_analysis_tables

where 1=1

and  cux_dev_analysis_tools.digit_table(table_name) = 1

;

 

 

==========================================================================

 

update cux_dev_analysis_tables dat

set dat.sql_last_update_date = 'SELECT MAX(LAST_UPDATED_DATE) FROM ' || table_name

where 1=1

and exists (

select 'X'

from all_tab_columns atc

where 1=1

and atc.column_name = 'LAST_UPDATED_DATE'

and atc.table_name = dat.table_name

)

;

 

 

update cux_dev_analysis_tables dat

set dat.sql_last_update_date = 'SELECT MAX(LAST_UPDATE_DATE) FROM ' || table_name

where 1=1

and exists (

select 'X'

from all_tab_columns atc

where 1=1

and atc.column_name = 'LAST_UPDATE_DATE'

and atc.table_name = dat.table_name

)

;

 

==========================================================================

 

 

update cux_dev_analysis_tables

   set count1 = cux_dev_analysis_tools.execute_immediate_sql (sql_count)

      ,last_update_date1 = decode (sql_last_update_date,null, cux_dev_analysis_tools.execute_immediate_sql (sql_last_update_date))

      ,process_flag = 'P1';

 

 

     

update cux_dev_analysis_tables

   set count2 = cux_dev_analysis_tools.execute_immediate_sql (sql_count2)

      ,last_update_date2 = decode (sql_last_update_date,null, cux_dev_analysis_tools.execute_immediate_sql (sql_last_update_date))

      ,process_flag = 'P2';     

     

     

 

 

update cux_dev_analysis_tables

   set count3 = cux_dev_analysis_tools.execute_immediate_sql (sql_count)

      ,last_update_date3 = decode (sql_last_update_date,null, cux_dev_analysis_tools.execute_immediate_sql (sql_last_update_date))

      ,process_flag = 'P3';          

 

==========================================================================

    

     

select

'SELECT * FROM ' || table_name || ';',

cda.*

from cux_dev_analysis_tables  cda

where 1=1

and (count1 <> count2 or last_update_date1 <> last_update_date2 )

;     

 

 

 

select

'SELECT * FROM ' || table_name || ';',

cda.*

from cux_dev_analysis_tables  cda

where 1=1

and (count3 <> count2 or last_update_date3 <> last_update_date2 )

;

 

==========================================================================

 

Package:

CREATE OR REPLACE PACKAGE APPS.CUX_DEV_ANALYSIS_TOOLS

AS

TYPE T_CURSOR IS REF CURSOR;

FUNCTION EXECUTE_IMMEDIATE_SQL(P_SQL IN VARCHAR2) RETURN NUMBER;

FUNCTION DIGIT_TABLE(P_TABLE_NAME IN VARCHAR2) RETURN NUMBER;

END;

/

CREATE OR REPLACE PACKAGE BODY APPS.CUX_DEV_ANALYSIS_TOOLS

AS

   FUNCTION EXECUTE_IMMEDIATE_SQL (P_SQL IN VARCHAR2)

      RETURN NUMBER

   IS

      V_RESULT   NUMBER := 0;

   BEGIN

      EXECUTE IMMEDIATE P_SQL INTO V_RESULT;

 

      RETURN V_RESULT;

   EXCEPTION

      WHEN OTHERS

      THEN

         RETURN -1;

   END;

 

   FUNCTION DIGIT_TABLE (P_TABLE_NAME IN VARCHAR2)

      RETURN NUMBER

   IS

      NUM_STEP          NUMBER := 0;

      V_RESULT   NUMBER := 0;

   BEGIN

      LOOP

         EXIT WHEN NUM_STEP > 9;

         SELECT INSTR (P_TABLE_NAME, TO_CHAR (NUM_STEP)) INTO V_RESULT FROM DUAL;

         IF (V_RESULT > 0)

         THEN

            RETURN 1;

         END IF;

         NUM_STEP := NUM_STEP + 1;

      END LOOP;

      RETURN -1;

   END;

END;

/

 

找出有差异的表,并分析表数据变化:

 

--stop cost manager

--wip lot split

--start cost manager

 

--compare diff from stop cost manager >>> wip lot split >>> start cost manager

==============================================================================

 

--S       wip lot split 在启动cost manager前后的相应数据行(相同)

--D12     wip lot split 在启动cost manager前后的相应数据行(成本管理关闭时数据行 - 成本管理器开启时数据行)

--D21     wip lot split 在启动cost manager前后的相应数据行(成本管理器开启时数据行 - 成本管理关闭时数据行)

 

 

--MMT

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_MMT_BAK130917001

INTERSECT

SELECT * FROM CUX_MMT_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_MMT_BAK130917001

MINUS

SELECT * FROM CUX_MMT_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_MMT_BAK130917002

MINUS

SELECT * FROM CUX_MMT_BAK130917001

) D21

;

 

 

=================================================

 

--WDJ

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WDJ_BAK130917001

INTERSECT

SELECT * FROM CUX_WDJ_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WDJ_BAK130917001

MINUS

SELECT * FROM CUX_WDJ_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WDJ_BAK130917002

MINUS

SELECT * FROM CUX_WDJ_BAK130917001

) D21

;

 

 

=================================================

 

--WE

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WE_BAK130917001

INTERSECT

SELECT * FROM CUX_WE_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WE_BAK130917001

MINUS

SELECT * FROM CUX_WE_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WE_BAK130917002

MINUS

SELECT * FROM CUX_WE_BAK130917001

) D21

;

 

 

=================================================

 

--WO

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WO_BAK130917001

INTERSECT

SELECT * FROM CUX_WO_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WO_BAK130917001

MINUS

SELECT * FROM CUX_WO_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WO_BAK130917002

MINUS

SELECT * FROM CUX_WO_BAK130917001

) D21

;

 

=================================================

 

 

--WOR

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WOR_BAK130917001

INTERSECT

SELECT * FROM CUX_WOR_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WOR_BAK130917001

MINUS

SELECT * FROM CUX_WOR_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WOR_BAK130917002

MINUS

SELECT * FROM CUX_WOR_BAK130917001

) D21

;

 

 

=================================================

 

--WOY

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WOY_BAK130917001

INTERSECT

SELECT * FROM CUX_WOY_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WOY_BAK130917001

MINUS

SELECT * FROM CUX_WOY_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WOY_BAK130917002

MINUS

SELECT * FROM CUX_WOY_BAK130917001

) D21

;

 

 

=================================================

 

--WRO

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WRO_BAK130917001

INTERSECT

SELECT * FROM CUX_WRO_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WRO_BAK130917001

MINUS

SELECT * FROM CUX_WRO_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WRO_BAK130917002

MINUS

SELECT * FROM CUX_WRO_BAK130917001

) D21

;

 

 

=================================================

 

 

--MOG

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_MOG_BAK130917001

INTERSECT

SELECT * FROM CUX_MOG_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_MOG_BAK130917001

MINUS

SELECT * FROM CUX_MOG_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_MOG_BAK130917002

MINUS

SELECT * FROM CUX_MOG_BAK130917001

) D21

;

 

 

=================================================

 

 

--WPB

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WPB_BAK130917001

INTERSECT

SELECT * FROM CUX_WPB_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WPB_BAK130917001

MINUS

SELECT * FROM CUX_WPB_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WPB_BAK130917002

MINUS

SELECT * FROM CUX_WPB_BAK130917001

) D21

;

 

 

=================================================

 

 

--WSRJ

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WSRJ_BAK130917001

INTERSECT

SELECT * FROM CUX_WSRJ_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WSRJ_BAK130917001

MINUS

SELECT * FROM CUX_WSRJ_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WSRJ_BAK130917002

MINUS

SELECT * FROM CUX_WSRJ_BAK130917001

) D21

;

 

 

=================================================

 

 

--WSSJ

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WSSJ_BAK130917001

INTERSECT

SELECT * FROM CUX_WSSJ_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WSSJ_BAK130917001

MINUS

SELECT * FROM CUX_WSSJ_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WSSJ_BAK130917002

MINUS

SELECT * FROM CUX_WSSJ_BAK130917001

) D21

;

 

 

=================================================

 

--WSMT

SELECT 'S' DIFF_FLAG,S.*

FROM(

SELECT * FROM CUX_WSMT_BAK130917001

INTERSECT

SELECT * FROM CUX_WSMT_BAK130917002

) S

UNION ALL

SELECT 'D12' DIFF_FLAG,D12.*

FROM(

SELECT * FROM CUX_WSMT_BAK130917001

MINUS

SELECT * FROM CUX_WSMT_BAK130917002

) D12

UNION ALL

SELECT 'D21' DIFF_FLAG,D21.*

FROM(

SELECT * FROM CUX_WSMT_BAK130917002

MINUS

SELECT * FROM CUX_WSMT_BAK130917001

) D21

;

 

=================================================

 

update mtl_material_transactions mmt
set costed_flag = 'N'
where 1=1
and mmt.transaction_id = &wls_transaction_id

 

 

UPDATE WSM_SPLIT_MERGE_TRANSACTIONS
SET COSTED = 1
WHERE 1=1
AND TRANSACTION_ID IN(
    SELECT TRANSACTION_ID FROM WSM_SM_RESULTING_JOBS 
    WHERE 1=1 AND WIP_ENTITY_ID IN(SELECT WIP_ENTITY_ID FROM WIP_ENTITIES WHERE 1=1 AND WIP_ENTITY_NAME LIKE 'G12%'))
AND TRANSACTION_ID = &WLS_SOURCE_TRANSACTION_ID;

 
 
 
 
 
 
 

 

 

update WIP_REQUIREMENT_OPERATIONS wro
set costed_quantity_issued = ( D21.costed_quantity_issued >>> D12.costed_quantity_issued )
where 1=1
and wip_entity_id in( &wls_source_job_id, &wls_job_id)

 
 
 
 
 
 

 

 

UPDATE WIP_PERIOD_BALANCES wpb
   SET TL_RESOURCE_IN = 0,
       TL_OVERHEAD_IN = 0,
       TL_OUTSIDE_PROCESSING_IN = 0,
       PL_MATERIAL_IN = 0,
       PL_MATERIAL_OVERHEAD_IN = 0,
       PL_RESOURCE_IN = 0,
       PL_OVERHEAD_IN = 0,
       PL_OUTSIDE_PROCESSING_IN = 0,
       TL_MATERIAL_OUT = 0,
       TL_MATERIAL_OVERHEAD_OUT = 0,
       TL_RESOURCE_OUT = 0,
       TL_OVERHEAD_OUT = 0,
       TL_OUTSIDE_PROCESSING_OUT = 0,
       PL_MATERIAL_OUT = 0,
       PL_MATERIAL_OVERHEAD_OUT = 0,
       PL_RESOURCE_OUT = 0,
       PL_OVERHEAD_OUT = 0,
       PL_OUTSIDE_PROCESSING_OUT = 0,
       TL_MATERIAL_VAR = 0,
       TL_MATERIAL_OVERHEAD_VAR = 0,
       TL_RESOURCE_VAR = 0,
       TL_OUTSIDE_PROCESSING_VAR = 0,
       TL_OVERHEAD_VAR = 0,
       PL_MATERIAL_VAR = 0,
       PL_MATERIAL_OVERHEAD_VAR = 0,
       PL_RESOURCE_VAR = 0,
       PL_OVERHEAD_VAR = 0,
       PL_OUTSIDE_PROCESSING_VAR = 0
 WHERE     1 = 1
       AND WIP_ENTITY_ID IN (&WLS_SPLIT_JOB_ID)
       AND WIP_ENTITY_ID IN (SELECT WIP_ENTITY_ID
                               FROM WIP_ENTITIES
                              WHERE 1 = 1 AND WIP_ENTITY_NAME LIKE 'G12%');

 
 
 
 
 
 
 
 
 

UPDATE WIP_PERIOD_BALANCES wpb
   SET
       TL_MATERIAL_OUT = 0,
       TL_MATERIAL_OVERHEAD_OUT = 0,
       TL_RESOURCE_OUT = 0,
       TL_OVERHEAD_OUT = 0,
       TL_OUTSIDE_PROCESSING_OUT = 0,
       PL_MATERIAL_OUT = 0,
       PL_MATERIAL_OVERHEAD_OUT = 0,
       PL_RESOURCE_OUT = 0,
       PL_OVERHEAD_OUT = 0,
       PL_OUTSIDE_PROCESSING_OUT = 0,
       TL_MATERIAL_VAR = 0,
       TL_MATERIAL_OVERHEAD_VAR = 0,
       TL_RESOURCE_VAR = 0,
       TL_OUTSIDE_PROCESSING_VAR = 0,
       TL_OVERHEAD_VAR = 0,
       PL_MATERIAL_VAR = 0,
       PL_MATERIAL_OVERHEAD_VAR = 0,
       PL_RESOURCE_VAR = 0,
       PL_OVERHEAD_VAR = 0,
       PL_OUTSIDE_PROCESSING_VAR = 0
 WHERE     1 = 1
       AND WIP_ENTITY_ID IN (&WLS_SOURCE_JOB_ID)
       AND WIP_ENTITY_ID IN (SELECT WIP_ENTITY_ID
                               FROM WIP_ENTITIES
                              WHERE 1 = 1 AND WIP_ENTITY_NAME LIKE 'G12%');

 
 
 
 
 
 
 
 
 

 

open MMT.distributions = null on transaction type: WIP Lot Split的更多相关文章

  1. zookeeper启动错误 transaction type: 2 error: KeeperErrorCode = NoNode for /hbase

    hbase伪分布式,与zookeeper同一台机器的时候,运行一段时间,启动zookeeper的时候,日志中有如下错误,导致无法启动zookeeper java.io.IOException: Fai ...

  2. org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'null' to required type 'double' for property 'band'; nested exception is org.springframework.core.convert.Con

    本文为博主原创,未经允许不得转载: 先将异常粘贴出来: 20:37:26,909 ERROR [com.suning.fucdn.controller.ProductDataStaticsContro ...

  3. leetcode 编译问题:Line x: member access within null pointer of type 'struct TreeNode'

    参考: LEETCODE 中的member access within null pointer of type 'struct ListNode' 解决 leetcode 编译问题:Line x: ...

  4. 力扣 报错 runtime error: load of null pointer of type 'const int'

    runtime error: load of null pointer of type 'const int' 要求返回的是int* 解决方案 1.指针使用malloc分配空间 用 int * p = ...

  5. swagger 报错:illegal defaultValue null for param type integer

    swagger(版本2.9.2) 刷新报错,错误信息如下图: 问题原因: 根据上面这句报错信息,点进去AbstractSerializableParameter.java:412可以看到 源码, @J ...

  6. Swagger2异常:Illegal DefaultValue null for parameter type integer java

    一.异常分析: Illegal DefaultValue null for parameter type integer`和`NumberFormatException: For input stri ...

  7. 解决 Illegal DefaultValue null for parameter type integer 异常

    该异常是由 swagger 引起的 swagger 版本 1.9.2 解决原因:重新导入 swagger-annotations 和 swagger-models 版本 为 1.5.21 pom.xm ...

  8. swagger2 Illegal DefaultValue null for parameter type integer

    问题,为了方便调试,引入了swagger2,但是在第一次访问的时候总是报 Illegal DefaultValue null for parameter type integer 让人看着很不输入 定 ...

  9. inceptor es表插入成功,返回报错you should set transaction.type before any DCL statement

    在finebi下用星环的连接驱动去写inceptor es表,发现插入能成功,但是返回一个报错: Caused by: java.sql.SQLException: Error to commit. ...

随机推荐

  1. java集合 collection-list-LinkedList 模拟一个堆栈或者队列数据结构。

    /* 使用LinkedList模拟一个堆栈或者队列数据结构. 堆栈:先进后出 如同一个杯子. 队列:先进先出 First in First out FIFO 如同一个水管. */ import jav ...

  2. 九度OJ 1104 整除问题

    题目地址:http://ac.jobdu.com/problem.php?pid=1104 题目描述: 给定n,a求最大的k,使n!可以被a^k整除但不能被a^(k+1)整除. 输入: 两个整数n(2 ...

  3. html5新增标签兼容性

    很多低版本的浏览器是不识html5新增的标签的,所以为了解决浏览器兼容性问题,主要有两种方法: js可以创建我们自定义的标签,例如,我们可以用js语句 document.createElement(' ...

  4. javascript cookie 操作

    <html> <head> <meta charset="utf-8"> <title>Javascript cookie</ ...

  5. phpmyadmin 4.x 版本无法看到登录框的处理

    由于个人dreamhost即将到期问题,购买了一台VPS. 配置了一个CentOS 6.4 Linux 服务器,用Nginx+php-fpm搭建的环境. 这些都是废话,下面是重点: 当搭建后配置php ...

  6. 【python】Python 3 +pycharm中文支持解决方案

    使用环境:window10 + python 3.5.1 方法:在代码前端增加代码:# -*-coding:gbk-*-

  7. 如何读懂Oracle文档中的语法图(转)

    本文转载自:http://kyle.xlau.org/posts/syntax-diagrams.html Oracle文档中用到了两种表达语法的方法,语法图和BNF. BNF, Backus-Nau ...

  8. Educational Codeforces Round 8 D. Magic Numbers

    Magic Numbers 题意:给定长度不超过2000的a,b;问有多少个x(a<=x<=b)使得x的偶数位为d,奇数位不为d;且要是m的倍数,结果mod 1e9+7; 直接数位DP;前 ...

  9. hdu 1427 dfs

    速算24点 题意:随机给你四张牌,包括 A(1),2,3,4,5,6,7,8,9,10,J(11),Q(12),K(13).要求只用'+','-','*','/'运算符以及括号改变运算 顺序,使得最终 ...

  10. 常用javascript代码片段集锦

    常用方法的封装 根据类名获取DOM元素 var $$ = function (className, element) { if (document.getElementsByClassName) { ...