parent
02b0e180d3
commit
e30939afa4
@ -0,0 +1,44 @@
|
|||||||
|
package com.backend.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
import com.backend.mapper.ExpressMapper;
|
||||||
|
import com.backend.pojo.Express;
|
||||||
|
import com.backend.service.ExpressService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class ExpressServiceImpl implements ExpressService {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ExpressMapper expressMapper;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Express findExpressById(String expressid) {
|
||||||
|
return expressMapper.findExpressById(expressid);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void insert(final String expressId,
|
||||||
|
final String sename, final String sephone, final String seaddress,
|
||||||
|
final String rename, final String rephone, final String readdress,
|
||||||
|
final Integer issign, final Date signtime) {
|
||||||
|
expressMapper.add(expressId, sename, sephone, seaddress, rename, rephone, readdress, issign, signtime);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void update(Express express) {
|
||||||
|
expressMapper.update(express);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void delete(final Express express) {
|
||||||
|
expressMapper.delete(express);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue