MfcubestockdetailOldMapper.java
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package cn.csbr.springboot.dao.mapper;
import cn.csbr.springboot.dao.model.MfcubestockdetailOld;
import com.csbr.mybatis.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
/**
* @Author: Raymond
* @Date: 2019/6/18 11:56
* @Description:
*/
@Repository
@Mapper
public interface MfcubestockdetailOldMapper extends MyMapper<MfcubestockdetailOld> {
@Select("SELECT\n" +
" guid,\n" +
" depotGuid,\n" +
" depotName,\n" +
" CubeGuid,\n" +
" CubeName,\n" +
" LocGuid,\n" +
" LocName,\n" +
" LabGuid,\n" +
" GoodsGUID,\n" +
" GoodsName,\n" +
" Unit,\n" +
" Lot,\n" +
" Productiondate,\n" +
" ExpireDate,\n" +
" SterilantLot,\n" +
" SterilantDate,\n" +
" SterilantEXPDate,\n" +
" Number,\n" +
" OwnerGUID,\n" +
" OwnerName,\n" +
" SupplierGUID,\n" +
" SupplierName,\n" +
" RkBillNo,\n" +
" PriceBuy,\n" +
" AmountBuy,\n" +
" Varchar1,\n" +
" Varchar2,\n" +
" Varchar3,\n" +
" Varchar4,\n" +
" Num1,\n" +
" Num2,\n" +
" Num3,\n" +
" CREATE_TIME CREATETIME,\n" +
" UPDATE_TIME UPDATETIME,\n" +
" RfidUid,\n" +
" BillState,\n" +
" use_time usetime,\n" +
" back_time backtime,\n" +
" use_username useusername,\n" +
" back_username backusername\n" +
"FROM\n" +
" `mfcubestockdetail_old`\n" +
"WHERE LabGuid = #{labguid}")
MfcubestockdetailOld searchDetailByBarcode(@Param("labguid") String labguid);
@Select("delete from `mfcubestockdetail_old` where LabGuid=#{LabGuid}")
void mfcubestockdetaildel(@Param(value = "LabGuid") String LabGuid);
}