mapper代码
List<X2DRetailEntity> getAppletBWareOrderByDepotId(@Param("allDepotId") List<String> allDepotId,@Param("selectField") String selectField);
xml代码
<select id="getAppletBWareOrderByDepotId" resultType="com.ellassay.x2.sync.entity.X2DRetailEntity">
select ${selectField} from X6_BILLS_GLS.D_RETAIL where setdepot_id in
<foreach collection="allDepotId" item="ids" open="(" separator="," close=")">
#{ids}
</foreach>
and setdepot_id = original_depot_id and bills_tag IS NOT NULL
</select>
public class test { public static void main(String[] args) { &...
java一个类可以有多个构造方法,根据传参类型和个数来匹配执行哪个构造方法。public class Member { public Member(){  ...
java判断字符是否是一个字母System.out.println(Character.isLetter('a'));java判断字符是否是一个数字System.out.println(Character.isDigit('0'));java判断字符是否是一个空白Sy...
在java中字符串属于对象,刚开始我就疑惑为什么int char等类型都是小写,结果String是大写,java太反人类,后来才知道String是对象。(1).java创建字符串String text = "net"; String tex...
java stringBuffer(1).stringBuffer和stringBuilder区别stringBuffer是线程安全的,stringBuilder速度更快(2).简单的stringBuffer例子StringBuffer sBuffer = new&nb...
System.out.println("当前时间戳(秒): " + System.currentTimeMillis()/1000); System.out.println("当前时间戳(毫秒): " +&nb...