在ibatis中做等值判断(if-else)

ibatis的xml文件中等值条件判断 

如果status值是"1"

    status = '1'

如果status的值不是"1"

    status = '2' 

 

你可能感兴趣的:(IBatis)