为什么IF里面的语句没有被执行,之前定义bzhgl=100;运行后没有报错但bzhgl的值不变.
请各位大神们帮忙看看 ~~
<tr>
<td align="center" id="zhsjrq"><%=rq1%></td>
<td align="center" id="zhsjscx"><%=rs.getString("banbie")%></td>
<td align="center" id="zhsjscx"><%=rs.getString("banci")%></td>
<td align="center" id="zhsjscx"><%=rs.getString("shengchanxian")%></td>
<td align="center" id="zhsjgg"><%=rs.getString("guige")%></td>
<td align="center" id="zhsjcl"><%=hgp%></td>
<td align="center" id="zhsjcphgl"><%=dd.format(benbanchanpinhegelv)%></td>
<%
if(rs.getString("guige").trim().equals("PSP110-0.8(冷改穿)"))
{
bzhgl = 64.40;
}
if(rs.getString("guige").trim().equals("PSP63-0.6(冷改穿)"))
{
bzhgl = 62.55;
}
if(rs.getString("guige").trim().equals("PSP75-0.6(冷改穿)"))
{
bzhgl = 57.47;
}
if(rs.getString("guige").trim().equals("PSP90-0.8(冷改穿)"))
{
bzhgl = 52.25;
}
if(rs.getString("guige").trim().equals("PSP110-1.0(冷改穿)"))
{
bzhgl = 67.15;
}
if(rs.getString("guige").trim().equals("PSP110-1.2(冷改穿)"))
{
bzhgl = 70.27;
}
if(rs.getString("guige").trim().equals("普通PSP160-1.2(冷改穿)"))
{
bzhgl = 89.67;
}
if(rs.getString("guige").trim().equals("PSP160-1.4(冷改穿)"))
{
bzhgl = 89.23;
}
if(rs.getString("guige").trim().equals("PSP160-1.5(冷改穿)"))
{
bzhgl = 83.14;
}
if(rs.getString("guige").trim().equals("PSP160-1.7(冷改穿)"))
{
bzhgl = 77.55;
}
if(rs.getString("guige").trim().equals("普通PSP200-1.5(冷改穿)"))
{
bzhgl = 75.32;
}
if(rs.getString("guige").trim().equals("HPSP50-0.6(热改穿)"))
{
bzhgl = 51.67;
}
if(rs.getString("guige").trim().equals("HPSP63-0.6(热改穿)"))
{
bzhgl = 61.90;
}
if(rs.getString("guige").trim().equals("HPSP75-0.6(热改穿)"))
{
bzhgl = 48.29;
}
if(rs.getString("guige").trim().equals("HPSP90-0.8(热改穿)"))
{
bzhgl = 47.35;
}
if(rs.getString("guige").trim().equals("HPSP110-0.8(热改穿)"))
{
bzhgl = 54.99;
}
if(rs.getString("guige").trim().equals("HPSP110-1.0(热改穿)"))
{
bzhgl = 61.73;