var leixing =$('tbody:eq(0) tr:eq(0) td:last').html().replace(/(^\s+)|(\s+$)/g,"");
if(leixing=="系统自动审核"){
$('#xgbjyxx').attr("disabled",true);
$('#tj1').attr("disabled",true);
$('#tj2').attr("disabled",true);
}
- select
- CASE b.is_auto_aduit_price
-
WHEN 0 THEN 3
select
WHEN 1 THEN 1
WHEN 2 THEN 2
ELSE 9
end as num
from t_ask_price_info b ; - CASE
-
WHEN b.is_auto_aduit_price = 0 THEN 3
WHEN b.is_auto_aduit_price = 1 THEN 1
WHEN b.is_auto_aduit_price = 2 THEN 2
ELSE 9
end as num
from t_ask_price_info b ;
-
-
param.put("isAutoAduitPrice", new Integer[] {
0, //0:待系统自动审核 1:报价审核人员审核 2:首席检测审核
1 , 2 });
<isNotEmpty prepend="and" property="isAutoAduitPrice">
b.is_auto_aduit_price in
<iterate open="(" close=")" conjunction="," property="isAutoAduitPrice"> #isAutoAduitPrice[]# </iterate>
</isNotEmpty>