|
@@ -37,13 +37,9 @@ public interface YpInDetlDao extends BaseMapper<YpInDetlVo> {
|
|
|
" order by de.in_docu_no desc, de.in_seri ")
|
|
|
List<YpInDetlVo> selectYpInDetlVoList(@Param(Constants.WRAPPER) QueryWrapper<?> qw);
|
|
|
|
|
|
- @Select(" select * from yp_in_detl where confirm_flag = '1' and buy_amt > 0 and rept_no = #{reptNo} and manu_no = #{manuNo} ")
|
|
|
+ @Select(" select top 1 * from yp_in_detl where confirm_flag = '1' and buy_amt > 0 and rept_no = #{reptNo} and manu_no = #{manuNo} ")
|
|
|
YpInDetlVo selectYpInDetlListByNo(@Param("reptNo") String reptNo, @Param("manuNo") String manuNo);
|
|
|
|
|
|
- @Select(" select * from yp_in_detl where confirm_flag = '1' and buy_amt > 0 and manu_no = #{manuNo} ")
|
|
|
- YpInDetlVo selectYpInDetlListByNo(@Param("manuNo") String manuNo);
|
|
|
-
|
|
|
-
|
|
|
@Select(" select convert(varchar(100), d.in_date, 20) as inDate, rtrim(d.in_docu_no) as inDocuNo, rtrim(d.rept_no) as reptNo, " +
|
|
|
" d.confirm_flag, d.in_type, d.group_no, rtrim(d.charge_code) as chargeCode, d.serial, d.in_seri, d.buy_amt, d.buy_price, " +
|
|
|
" convert(varchar(100), d.producing_date, 20) as producingDate, convert(varchar(100), d.eff_date, 23) as effDate, " +
|