|
|
@@ -5,6 +5,9 @@ import cn.hnthyy.thmz.mapper.his.ZyDepositFileMapper;
|
|
|
import cn.hnthyy.thmz.service.his.ZyDepositFileService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Isolation;
|
|
|
+import org.springframework.transaction.annotation.Propagation;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.List;
|
|
|
@Service
|
|
|
@@ -16,4 +19,10 @@ public class ZyDepositFileServiceImpl implements ZyDepositFileService {
|
|
|
public List<ZyDepositFile> queryZyDepositFileBYInpatientNoAndTimes(ZyDepositFile zyDepositFile) {
|
|
|
return zyDepositFileMapper.selectZyDepositFileBYInpatientNoAndTimes(zyDepositFile);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT, timeout = 36000, rollbackFor = Exception.class)
|
|
|
+ public int saveZyDepositFile(ZyDepositFile zyDepositFile) {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
}
|